KingofGamesYami, on 12 April 2015 - 12:08 AM, said:
First off, we don't promote malicious code on the forums. However, I can answer your questions:
1) You don't need to inject the disks startup. Just place the disk in, ctrl+r the computer, and the startup on the disk will run. If you really need to edit files, look into the fs api
2) Put this at the top of your program:
os.pullEvent = os.pullEventRaw
Please note that it is impossible to brick a computer completely, you can always use ctrl+R to reboot or ctrl+S to run the startup script. This, combined with a disk drive, allows you to bypass any startup file.
I mean when the disk is out of the disk drive it still works.
and I know that a disk drive can bypass it, I'm making an anti-virus using that technique, unless... I copy the startup file to the disk, before it runs....
Wait...
I could copy startup from the disk into a file, and startup, then, when a disk is put in, the virus would put the copy of itself into the floppy disc, and then, it would run the file. woah, then the virus would spread. (but I wouldn't do that.)
Edited by Lightning, 12 April 2015 - 12:19 AM.