HangMan23

programs locations.lua

Jan 27th, 2019
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. programs = {
  2. {"/bin/edit.lua", "WBdu5uiN", mode = true},
  3. {"/lib/core/boot.lua", "bUKWfqAh", mode = true},
  4. {"/Reflash_bios", "Dn0rEgXB", mode = true, timeless = true, text = "Setup Bios"},
  5. {"/etc/profile.lua", "QLe72VZg", mode = true, text = "change default dir to /"},
  6. {"/dev_tools.lua", "9WBeUhLc", mode = false, text = "Private calhoz developer tools."}
  7. }
  8.  
  9. programs[1].code = [[
  10. local file, reason = io.open("/edit.cfg", "w")
  11. if not file then error("Failed to open file for writing: " .. reason) end
  12. file:write("0x323232" .. "\n" .. "0x00ffff")
  13. file:close()
  14. ]]
  15.  
  16. programs[4].code = [[
  17. loadfile("/bin/flash.lua")("-q", "/Reflash_bios", "theBios")
  18. ]]
  19.  
  20. return programs
Add Comment
Please, Sign In to add comment