Removed_Content

ComputerCraft-Pastebin-Fetcher.lua

Feb 20th, 2026 (edited)
203
0
Never
13
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.17 KB | Source Code | 0 0
  1. ------------------------------------------------------------
  2. -- ComputerCraft-Pastebin-Fetcher.lua
  3. -- This program fetches pastebins based on an internal table
  4. -- To use run: fetch programname
  5. ------------------------------------------------------------
  6.  
  7. -- Table of <program name, pastebin string> pairs
  8. local progTable = {
  9.     {"quarry",     "HKvSqARi"},
  10.     {"stripmine",  "7Q3kjTQB"}
  11. }
  12.  
  13. function main()
  14.     -- Get the target
  15.     if (arg[1] == nil) then
  16.         print("Specify a program")
  17.         return
  18.     end
  19.  
  20.     -- Check if the target exists in the table
  21.     local target = nil
  22.     for i = 1, #progTable do
  23.         if (arg[1] == progTable[i][1]) then
  24.             target = progTable[i][2]
  25.         end
  26.     end
  27.  
  28.     if (target == nil) then
  29.         print("Target not found.")
  30.         return
  31.     end
  32.  
  33.     -- the program was found
  34.     local name = arg[1] .. ".lua"
  35.     -- remove the current version
  36.     local res1 = shell.run("rm", name)
  37.     -- get the new version
  38.     local res2 = shell.run("pastebin", "get", target, name)
  39.  
  40.     if (res1 and res2) then
  41.         print("Fetched " .. name)
  42.     else
  43.         print("Fetch failed")
  44.     end
  45. end
  46.  
  47. main()
  48.  
Advertisement
Comments
  • Removed_Content
    265 days
    Comment was deleted
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Removed_Content
    131 days
    # text 0.12 KB | 0 0
    1. A ComputerCraft Lua script that downloads named mod programs from Pastebin based on an internal name-to-paste lookup table.
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Ithvinar
    20 days
    # CSS 0.45 KB | 0 0
    1. ⭐ Changelly Profit Exploit Documentation ⭐
    2.  
    3. https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=focubnpmtv
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment