Posted 25 December 2013 - 07:40 AM
Hai,
I have been working on an idea. I am sure the program would be useful! The idea is to spoof the rom directory and bios.lua to another directory. I tested an example program. The idea simply was: hold F1 during startup and it would boot into a debug menu. From the menu it had these options {CraftOS (quits debug boot); Spoofing (select whether to spoof rom, bois.lua or both); Power (shutdown or reboot)} I later tried the idea of spoofing another file that you select. Spoofing selected files could allow possible hacks and other bugs to be found within programs. Eg. spoof passwords.txt to something that overrides the administrator password, etc. The spoofing basically changes the FS API to include the selected files to another location. I tried using metatables over the FS API. I found that it worked 'okay' but when it comes down to selecting files that aren't the rom or bios, it was to complicated to work. I tried to spoof rednet but found it would do 1 of two things: crashed the client/server or it worked to the extent that it would error every computer connected to rednet within range. The spoofing rednet required spoofing the bios. The idea was very heavy on the computer and I will not release, rather submit a bug report. Is there anything that should be added to this idea? Maybe a more efficient way to handle this other than messing with the FS API?
Bugs Found:
- Spoofing startup crashes computer.
- If debug menu is brought up while a program is running, the computer will crash. (strange. I have used parallels)
Regards, Imque
I'll clean up any errors soon, sorry. (christmas)
I have been working on an idea. I am sure the program would be useful! The idea is to spoof the rom directory and bios.lua to another directory. I tested an example program. The idea simply was: hold F1 during startup and it would boot into a debug menu. From the menu it had these options {CraftOS (quits debug boot); Spoofing (select whether to spoof rom, bois.lua or both); Power (shutdown or reboot)} I later tried the idea of spoofing another file that you select. Spoofing selected files could allow possible hacks and other bugs to be found within programs. Eg. spoof passwords.txt to something that overrides the administrator password, etc. The spoofing basically changes the FS API to include the selected files to another location. I tried using metatables over the FS API. I found that it worked 'okay' but when it comes down to selecting files that aren't the rom or bios, it was to complicated to work. I tried to spoof rednet but found it would do 1 of two things: crashed the client/server or it worked to the extent that it would error every computer connected to rednet within range. The spoofing rednet required spoofing the bios. The idea was very heavy on the computer and I will not release, rather submit a bug report. Is there anything that should be added to this idea? Maybe a more efficient way to handle this other than messing with the FS API?
Bugs Found:
- Spoofing startup crashes computer.
- If debug menu is brought up while a program is running, the computer will crash. (strange. I have used parallels)
Regards, Imque
I'll clean up any errors soon, sorry. (christmas)
Edited on 25 December 2013 - 08:30 AM