Jump to content




Custom ROM via crafting


  • You cannot reply to this topic
84 replies to this topic

#61 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 04 September 2014 - 09:31 PM

+5

#62 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 30 September 2014 - 10:50 PM

For the main reason I outlined here, I highly doubt this will ever be implemented. The potential for causing irreparable damage to someone's system is way too high.

#63 Sebra

  • Members
  • 726 posts

Posted 02 October 2014 - 05:50 AM

The main reason this suggestion is better, than "You can create your own custom ROM with resource packs" is ability to create individual ROM for each computer. Second reason is default computer's behavior for those who would not change it. Third reason is ability to change ROM inside game, not outside.

#64 ardera

  • Members
  • 503 posts
  • LocationGermany

Posted 02 November 2014 - 11:20 AM

There are some things that would be exploitable if bios.lua wasn't there, the string metatable could be overridden (the string metatable is static per lua machine, so every computer has the same string metatable) Calling functions on strings uses the __index of the string metatable. Virusses could spread very easy.

I think if it's gonna get implemented, there will be a raw bios.lua with basic protection and stuff.

#65 Sebra

  • Members
  • 726 posts

Posted 02 November 2014 - 01:49 PM

I hope there would be a way to protect it on java side. If not, minor hidden lua stub can be made to protect just this.
Any other exploitable thing except string metatable?

#66 ardera

  • Members
  • 503 posts
  • LocationGermany

Posted 02 November 2014 - 04:38 PM

There is a very easy way to protect this :)
Just let the ComputerCraft Lua Machine Initializer set the __metatable tag of the string metatable to some random string, and it's protected.

I'm not that sure, but I think it's possible to mess with the shutdown/reboot function then, but this can be protected too.

Edited by ardera, 02 November 2014 - 04:39 PM.


#67 3dsboy08

  • Members
  • 20 posts

Posted 08 November 2014 - 03:27 AM

Now we have just found out about a program named "carbon", which allows custom ROM's :D

#68 Luca_S

  • Members
  • 407 posts
  • LocationGermany

Posted 11 November 2014 - 05:50 PM

This would be really nice :D on servers you could prevent others to use /diks/startup files, because its very bad if you need a disk drive, but want a public PC. Hope this will be implemented.

#69 cdel

  • Banned
  • 496 posts
  • LocationMelbourne, Australia

Posted 13 November 2014 - 08:53 AM

View Post3dsboy08, on 08 November 2014 - 03:27 AM, said:

Now we have just found out about a program named "carbon", which allows custom ROM's :D

As the creator of that program, I am considering adding the ability to choose the location of the new rom. Therefore its completely possible to have a rom on something such as a disk. :D

#70 Agent Silence

  • Members
  • 319 posts
  • Location[string "FindMe"]:23143: bad argument #1 to 'returnPos' (vector expected, got nil)

Posted 13 November 2014 - 04:45 PM

It is a good idea but it is too big a handful for dan200 to carry on his own.

You have to add new recipes, clone all the computer class files(advanced and normal), modify the way the rom works entirely on both clones, and then find a way to lock the rom again.

And it is an especially tedious task because of not only the massive amounts of programming, but also he has to handle his everyday life.

#71 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 13 November 2014 - 11:28 PM

View PostRequiem, on 13 November 2014 - 04:45 PM, said:

-snip-
Lol. It wouldn't actually be that difficult. It's just not that good of an idea.

#72 Agent Silence

  • Members
  • 319 posts
  • Location[string "FindMe"]:23143: bad argument #1 to 'returnPos' (vector expected, got nil)

Posted 14 November 2014 - 05:27 AM

View Posttheoriginalbit, on 13 November 2014 - 11:28 PM, said:

View PostRequiem, on 13 November 2014 - 04:45 PM, said:

-snip-
Lol. It wouldn't actually be that difficult. It's just not that good of an idea.

If you could make the computer startup run before the disk startup
the entire need for another rom is removed

#73 Luca_S

  • Members
  • 407 posts
  • LocationGermany

Posted 18 November 2014 - 06:46 AM

I know, that this would give the abality to hack computers, but it would also give the ability to disable the booting from disks. So on servers you could do public PCs with disk drives.

#74 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 09 June 2015 - 10:57 AM

Bump, still a great idea and i think it should be implemented, it will not be able to fully brickwall a pc because you can always overwrite the ROM of a pc, but this way people can finnaly make secure operating systems and core computer functionallity instead of building on this super vunreable default operating system

#75 MindenCucc

  • Members
  • 179 posts
  • Location/home/marcus/

Posted 09 June 2015 - 01:49 PM

Yeah, this is a good idea. This may be possible using peripherals. I'll look at the API as soon the electricity comes back.

Edit: nope, it's impossible :(

Edited by MindenCucc, 09 June 2015 - 03:28 PM.


#76 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 09 June 2015 - 02:56 PM

An alternative is to just overwrite the top level coroutine. Should work fine.

#77 apemanzilla

  • Members
  • 1,421 posts

Posted 10 June 2015 - 08:17 PM

View PostCreator, on 09 June 2015 - 02:56 PM, said:

An alternative is to just overwrite the top level coroutine. Should work fine.

...what?

We're talking about making our own ROM, that CAN'T be bypassed by disk booting.

#78 cptdeath58

  • Members
  • 139 posts
  • LocationError 404: Could not find.

Posted 23 June 2015 - 05:21 AM

View PostCranium, on 30 September 2014 - 10:50 PM, said:

For the main reason I outlined here, I highly doubt this will ever be implemented. The potential for causing irreparable damage to someone's system is way too high.
I see you're reasoning so why not also make it or another block hold the hard disk so if it does become irreparable, you can simply have multiple of those and insert your backup, change your password on the computer and go on.

#79 flaghacker

  • Members
  • 655 posts

Posted 23 June 2015 - 05:25 AM

View Postcptdeath58, on 23 June 2015 - 05:21 AM, said:

View PostCranium, on 30 September 2014 - 10:50 PM, said:

For the main reason I outlined here, I highly doubt this will ever be implemented. The potential for causing irreparable damage to someone's system is way too high.
I see you're reasoning so why not also make it or another block hold the hard disk so if it does become irreparable, you can simply have multiple of those and insert your backup, change your password on the computer and go on.

What kind of super-important stuff do you guys keep on your conputers? And can't you afford 7 iron to make a new one?

And what? You can only set the ROM when crafting, not afterwards. How could you use this to insert malware?

#80 cptdeath58

  • Members
  • 139 posts
  • LocationError 404: Could not find.

Posted 23 June 2015 - 04:23 PM

View Postflaghacker, on 23 June 2015 - 05:25 AM, said:

View Postcptdeath58, on 23 June 2015 - 05:21 AM, said:

View PostCranium, on 30 September 2014 - 10:50 PM, said:

For the main reason I outlined here, I highly doubt this will ever be implemented. The potential for causing irreparable damage to someone's system is way too high.
I see you're reasoning so why not also make it or another block hold the hard disk so if it does become irreparable, you can simply have multiple of those and insert your backup, change your password on the computer and go on.

What kind of super-important stuff do you guys keep on your conputers? And can't you afford 7 iron to make a new one?

And what? You can only set the ROM when crafting, not afterwards. How could you use this to insert malware?
True, but you never know... someone can end up entering your computer somehow and scrapping it,





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users