Mr_3242

api jnkie script stealer (steals scripts that’s from api jnkie)

Sep 12th, 2026
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.46 KB | Gaming | 0 0
  1. getgenv().SCRIPT_KEY = "KEYLESS"
  2.  
  3. local key = getgenv().SCRIPT_KEY or SCRIPT_KEY
  4. local request = (type(syn) == "table" and type(syn.request) == "function" and syn.request)
  5.     or (type(request) == "function" and request)
  6.     or (type(http_request) == "function" and http_request)
  7.     or (type(http) == "table" and type(http.request) == "function" and http.request)
  8.  
  9. if type(key) ~= "string" then
  10.     warn("Key verification failed")
  11.     return
  12. end
  13.  
  14. if type(request) ~= "function" then
  15.     warn("No HTTP request function available")
  16.     return
  17. end
  18.  
  19. local function doRequest(options)
  20.     local finished = false
  21.     local success, response
  22.  
  23.     task.spawn(function()
  24.         success, response = pcall(request, options)
  25.         finished = true
  26.     end)
  27.  
  28.     local start = os.clock()
  29.  
  30.     repeat
  31.         task.wait()
  32.     until finished or os.clock() - start > 15
  33.  
  34.     if not finished then
  35.         return false, nil
  36.     end
  37.  
  38.     return success, response
  39. end
  40.  
  41. -- Step 1: send the script key
  42. local success, response = doRequest({
  43.     Url = "api jnkie link here",
  44.     Method = "POST",
  45.     Headers = {
  46.         ["Content-Type"] = "text/plain"
  47.     },
  48.     Body = key
  49. })
  50.  
  51. if not success or type(response) ~= "table" then
  52.     warn("Delivery request failed")
  53.     return
  54. end
  55.  
  56. -- Step 2: handle the CDN URL returned by the server
  57. if response.StatusCode == 200
  58.     and type(response.Body) == "string"
  59.     and response.Body:sub(1, 22) == "https://cdn.jnkie.com/" then
  60.  
  61.     success, response = doRequest({
  62.         Url = response.Body,
  63.         Method = "GET"
  64.     })
  65. end
  66.  
  67. -- Step 3: handle redirects
  68. if success
  69.     and type(response) == "table"
  70.     and (response.StatusCode == 302 or response.StatusCode == 303) then
  71.  
  72.     local headers = response.Headers or response.headers
  73.     local location = type(headers) == "table"
  74.         and (headers.Location or headers.location)
  75.  
  76.     if type(location) == "string"
  77.         and location:sub(1, 22) == "https://cdn.jnkie.com/" then
  78.  
  79.         success, response = doRequest({
  80.             Url = location,
  81.             Method = "GET"
  82.         })
  83.     end
  84. end
  85.  
  86. -- Step 4: copy the final response instead of executing it
  87. if not success
  88.     or type(response) ~= "table"
  89.     or response.StatusCode ~= 200
  90.     or type(response.Body) ~= "string"
  91.     or #response.Body == 0 then
  92.  
  93.     warn("Failed to download final script")
  94.     return
  95. end
  96.  
  97. setclipboard(response.Body)
  98. print("Final downloaded script copied to clipboard.")
Tags: delta
Advertisement
Add Comment
Please, Sign In to add comment