This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
11516's profile picture

Virus Remover (Disk)

Started by 11516, 22 January 2016 - 11:30 PM
11516 #1
Posted 23 January 2016 - 12:30 AM
This will remove any virus from a computercraft computer, it just needs to be installed onto a floppy disk!
Install these two things to get it working!

1. pastebin get bD870yYY startup
2. pastebin get tMkFiYyj Restorer
Edited on 23 January 2016 - 03:11 AM
wilcomega #2
Posted 23 January 2016 - 03:05 PM
To bad disk startup can be disabled by any program > : D
Edited on 23 January 2016 - 02:05 PM
YoYoYonnY #3
Posted 03 February 2016 - 02:31 PM
Help! I executed this program, and now my startup file is gone! How do I get it back? Also, when I execute this program if there's already a disk, it craches! Just kididng, but why not just rename startup instead of deleting it, and use peripherals instead of fs.copy("disk/(..)")?
ViperLordX #4
Posted 11 February 2016 - 01:08 PM
The whole point of this program is that it deletes the startup. If there's nothing in your startup, a virus can't do anything to your computer on startup. Startup disk cannot be disabled by any program, all you need to do is shutdown the computer, put in a disk with a startup, and reboot.
Wojbie #5
Posted 11 February 2016 - 02:58 PM
Startup disk cannot be disabled by any program, all you need to do is shutdown the computer, put in a disk with a startup, and reboot.

Incorect. In Computercraft 1.77-1.78 and later it is possible to disable disk drive booting. To bypass that type of locked computer you need to pick it up (make sure its labeled) and place it in disk drive like a disk. The contents of said computer will be accessible like a disk.
Edited on 11 February 2016 - 01:59 PM
ViperLordX #6
Posted 11 February 2016 - 09:50 PM
Really? How do you prevent startup disk drives from working? I've heard nothing of it.
Wojbie #7
Posted 11 February 2016 - 10:05 PM
Really? How do you prevent startup disk drives from working? I've heard nothing of it.
You use Settings api. You are interested in setting "shell.allow_disk_startup".
You can also disable normal startup using "shell.allow_startup" and there is more settings too.
All details are on said wiki page.
Edited on 11 February 2016 - 09:05 PM
wilcomega #8
Posted 12 February 2016 - 02:39 PM
does nobody read changelogs these days?
ViperLordX #9
Posted 12 February 2016 - 10:00 PM
I haven't used ComputerCraft for almost 6 months now, so I probably missed it.
11516 #10
Posted 21 April 2016 - 11:59 PM
hm.. wonder if anyone even uses this..
Anavrins #11
Posted 22 April 2016 - 12:58 AM
hm.. wonder if anyone even uses this..
Cool gravedig.
They don't, because the same thing can be achieved by having an empty startup file on a disk.
Edited on 21 April 2016 - 10:58 PM
unnamedcoder #12
Posted 12 June 2016 - 09:46 PM
I know this thread is OLD, however it is a cool concept, but you could make the program scan through all the files on the pc, using readLines(), and look for uses of the fs api and os.pullEvent, they it would display a list of possible bad files and the user could manually look through these to check if they're infected with a virus.