Deividas 0 Posted July 17, 2016 Share Posted July 17, 2016 Hi there, I was making small program or api for self destroying (I needed to put it in my private program). So I decided to share it with all, because I think some people will found this useful. To fast self destroy of hdd write in: pastebin run eKz1RmEP And If you need to use it in your program, this code will help you: local fs = require("filesystem") for file in fs.list("") do print("Deleting \"" .. file .. "\"") fs.remove(file) end Cheers! Quote Link to post Share on other sites
MeltingBrain 12 Posted July 19, 2016 Share Posted July 19, 2016 Hi there, I was making small program or api for self destroying (I needed to put it in my private program). So I decided to share it with all, because I think some people will found this useful. To fast self destroy of hdd write in: pastebin run eKz1RmEP And If you need to use it in your program, this code will help you: local fs = require("filesystem") for file in fs.list("") do print("Deleting \"" .. file .. "\"") fs.remove(file) end Cheers! This in any way won't destroy the HDD, but destroy the data in it, and this might not work since some files might be protected or in use. To correctly destroy all your system data you would need to override the init.lua file and do a low-level clean of your system to properly destroy the HDD. If you just want to clear your HDD, run the computer with OpenOS floppy, then find the mount of your HDD and delete all data in it simply by using rmdir command. Quote Link to post Share on other sites
Gorzoid 10 Posted July 19, 2016 Share Posted July 19, 2016 How to destroy: drop in lava. How to wipe: shift right click(or just right click can't remember) and swap to unmanaged and back. I think you can also put it in crafting grid to wipe not sure tho Quote Link to post Share on other sites
ajud 0 Posted August 6, 2016 Share Posted August 6, 2016 wiped a HDD easily Quote Link to post Share on other sites