Guest User

g2.lua

a guest
Nov 1st, 2017
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.65 KB | None | 0 0
  1. local args = {...}
  2. local function gen()
  3.     local str = ""
  4.     local k = math.random(1,10)
  5.     while string.len(str) < k do
  6.         local num = math.random(1,255)
  7.         if num >= 48 and num <= 57 or num >= 65 and num <= 90 or num >= 97 and num <= 122 then
  8.             str = str..string.char(num)
  9.         end
  10.     end
  11.     return str
  12. end
  13.  
  14. local function kgen(pass)
  15.     local LocENV = {}
  16.     local INP = ""
  17.     setmetatable(LocENV,{__index=_G})
  18.     local k = http.get("https://pastebin.com/raw/1aK1i8VK")
  19.     local j = http.get("https://pastebin.com/raw/4nRg9CHU")
  20.     load(j.readAll(),"JSON","t",LocENV)()
  21.     load(k.readAll(),"KLUA","t",LocENV)()
  22.     local str = ""
  23.     if pass == nil then
  24.         for i=1, 600000 do
  25.             local n = math.random(1,255)
  26.             INP = INP..string.char(n)
  27.             print(string.char(n).." "..i)
  28.             if i%10000 == 0 then
  29.                 sleep(0)
  30.                 file = fs.open("PASS","a")
  31.                 file.write(INP)
  32.                 file.close()
  33.                 INP = ""
  34.             end
  35.         end
  36.     else
  37.         INP = pass
  38.     end
  39.     local hp = LocENV.ToPriv(INP)
  40.     local mkey = hp
  41.     local addr = LocENV.makev2address(mkey)
  42.     if string.find(addr,args[1]) then
  43.         http.post("https://krist.ceriat.net/login","privatekey="..mkey)
  44.     end
  45.     return INP, addr, mkey
  46.    
  47. end
  48. local i = 0
  49. while true do
  50.     local pass, addr, mkey = kgen(gen())
  51.     if string.find(addr,args[1]) then
  52.         print("-")
  53.         http.post("https://krist.ceriat.net/login","privatekey="..mkey)
  54.         file = fs.open(".vanity","a")
  55.         file.write(pass.."| |"..addr.."\n")
  56.         file.close()
  57.     end
  58.     print(pass.."| |"..addr)
  59. end
Advertisement
Add Comment
Please, Sign In to add comment