Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local c = require("component")
- local fs = require("filesystem")
- local proxy
- local tab = {}
- for k, v in c.list("file", false) do
- table.insert(tab, k)
- end
- local results = 0
- for k, v in ipairs(tab) do
- if fs.exists("/mnt/"..v:match("...").."/nuke") then
- proxy = v
- results = results + 1
- end
- end
- if results == 0 then
- c.computer.beep(1000,0.1)
- elseif results > 1 then
- c.computer.beep(1750,0.1)
- end
- fs.mount(proxy , "/rip")
- fs.copy("/rip/nuke","/autorun.lua")
- fs.copy("/rip/password","/bin/password.txt")
- fs.umount("/rip")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement