Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import hashlib
- import urllib2
- import math
- import time
- import timeit
- import random
- import threading
- import string
- import sys
- carg = 0
- for arg in sys.argv:
- if carg == 0:
- fromPass = arg
- elif carg == 1:
- toAddr = arg
- elif carg == 2:
- timeOut = arg
- carg = carg +1
- exitThread = 0
- def id_generator(size=6, chars=string.ascii_uppercase + string.digits):
- return ''.join(random.choice(chars) for _ in range(size))
- def htb(j):
- if j <= 6:
- return "0"
- elif j <= 13:
- return "1"
- elif j <= 20:
- return "2"
- elif j <= 27:
- return "3"
- elif j <= 34:
- return "4"
- elif j <= 41:
- return "5"
- elif j <= 48:
- return "6"
- elif j <= 55:
- return "7"
- elif j <= 62:
- return "8"
- elif j <= 69:
- return "9"
- elif j <= 76:
- return "a"
- elif j <= 83:
- return "b"
- elif j <= 90:
- return "c"
- elif j <= 97:
- return "d"
- elif j <= 104:
- return "e"
- elif j <= 111:
- return "f"
- elif j <= 118:
- return "g"
- elif j <= 125:
- return "h"
- elif j <= 132:
- return "i"
- elif j <= 139:
- return "j"
- elif j <= 146:
- return "k"
- elif j <= 153:
- return "l"
- elif j <= 160:
- return "m"
- elif j <= 167:
- return "n"
- elif j <= 174:
- return "o"
- elif j <= 181:
- return "p"
- elif j <= 188:
- return "q"
- elif j <= 195:
- return "r"
- elif j <= 202:
- return "s"
- elif j <= 209:
- return "t"
- elif j <= 216:
- return "u"
- elif j <= 223:
- return "v"
- elif j <= 230:
- return "w"
- elif j <= 237:
- return "x"
- elif j <= 244:
- return "y"
- elif j <= 251:
- return "z"
- else:
- return "e" #because why not
- class mThread (threading.Thread):
- def __init__(self, threadID, name):
- threading.Thread.__init__(self)
- self.threadID = threadID
- self.name = name
- def run(self):
- print "Starting " + self.name
- dhash(self.name)
- def genAddr(rstr):
- global thash2:
- m = hashlib.sha256()
- thash = "KRISTWALLET" + rstr
- m.update(thash)
- output = m.hexdigest()
- m = hashlib.sha256()
- thash2 = output + "-000"
- m.update(thash2)
- op2 = m.hexdigest()
- prot = []
- m = hashlib.sha256()
- thash3 = op2
- m.update(thash3)
- stick = m.hexdigest()
- n = 0
- link = 0
- while True:
- if n < 9:
- prot.insert(n,stick[:2])
- m = hashlib.sha256()
- th4 = stick
- m.update(th4)
- op3 = m.hexdigest()
- m = hashlib.sha256()
- th5 = op3
- m.update(th5)
- stick = m.hexdigest()
- #stick is fine
- n = n + 1
- if n == 9:
- break
- n = 0
- caddr = "k"
- nc = 0
- while True:
- linkum = int(stick[1*2*n:2+(2*n)],16)
- link = linkum % 9
- if len(prot[link]) != 0:
- tah = htb(int(prot[link],16))
- caddr = caddr + tah
- prot[link] = ''
- n = n + 1
- else:
- m = hashlib.sha256()
- th6 = stick
- m.update(th6)
- stick = m.hexdigest()
- if n == 9:
- break
- return caddr
- fId = genAddr(fromPass)[:10]
- oldKey = thash2
- tot = urllib2.urlopen("http://65.26.252.225/quest/dia/krist/index.php?getbalance='+ fId)
- tot = int(tot)
- indSend = math.floor(tot / timeOut)
- lastSend = tot % timeOut
- nl = 0
- while true:
- nlb = 0
- while true:
- thread.sleep(0.01)
- randDummy = random.randint(1,100)
- newPass = "TUMBLE+" + randDummy
- newAcc = genAddr(newPass)[:10]
- if n == timeOut:
- send = urllib2.urlopen("http://65.26.252.225/quest/dia/krist/index.php?pushtx2&q=" + newAcc + "&pkey=" + oldKey + "&amt=" + str(lastSend))
- else:
- send = urllib2.urlopen("http://65.26.252.225/quest/dia/krist/index.php?pushtx2&q=" + newAcc + "&pkey=" + oldKey + "&amt=" + str(indSend))
- oldKey = thash2
- nlb = nlb+1
- if nlb == 100:
- if n == timeOut:
- send = urllib2.urlopen("http://65.26.252.225/quest/dia/krist/index.php?pushtx2&q=" + newAcc + "&pkey=" + oldKey + "&amt=" + str(lastSend))
- else:
- send = urllib2.urlopen("http://65.26.252.225/quest/dia/krist/index.php?pushtx2&q=" + toAddr + "&pkey=" + oldKey + "&amt=" + str(indSend))
- break
- nl = nl+1
- if n == timeOut +1:
- break
Advertisement
Add Comment
Please, Sign In to add comment