A little WIF-Key Scanner for the 66 bit range...
# -*- coding: utf-8 -*-
"""
@author: JollyJocker
"""
import sys
import time
import random
import secp256k1 as ice
from time import sleep
from multiprocessing import Process, freeze_support
def counter():
total=0
return total
L=[]
y = 58 #541
z = 1048576
A = 1000000
cores=4
def process1(number,counter,):
count = counter()
while True:
for i in range(0x22000000000000000, 0x3ffffffffffffffff, 0xdf1290b78e9a34b):
b = str(ice.btc_pvk_to_wif(i, True)[:-11])
x = ''.join(random.choices('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz', k=1))
key_WIF01 = b + x + '1111111111'
L.append(key_WIF01)
print(' 1********************************* ' + str(b) + x + '1111111111', end='\r')
sleep(0.001)
# ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
if len(L) == y:
line_count=0
for private_key_WIF in (L):
key_hex = ice.btc_wif_to_pvk_hex(private_key_WIF)[47:-5] + '00000'
key_int = int(key_hex, 16)
P = ice.scalar_multiplication(key_int)
current_pvk = key_int + 1
Pv = ice.point_sequential_increment(number, P)
for t in range(number):
addr = ice.pubkey_to_address(0, True, Pv[t*65:t*65+65])
line_count+=1
count += 1 * cores
if count % A == 0:
ran = (current_pvk+t)
a = len(bin(ran)[2:])
WIF_Key = ice.btc_pvk_to_wif(ran, True)
sys.stdout.write('\r ' + addr + ' : (( ' + hex(ran) + ' )) .....' + str(WIF_Key)[33:] + ' ' + str(a).zfill(3))
if addr.startswith('13zb1h'): # 13zb1h
ran = (current_pvk+t)
a = len(bin(ran)[2:])
WIF_Key = ice.btc_pvk_to_wif(ran, True)
print('\n\n[ ' + addr + ' = ' + str(WIF_Key) + ' ' + str(a).zfill(3), ']\n')
if addr.startswith('13zb1hQ'):
WIF_Key = ice.btc_pvk_to_wif(ran, True)
file=open(u"WIF1.Target.Info.txt","a")
file.write('\n ' + addr + ' | ' + str(WIF_Key) + ' ' + hex(ran)[2:])
file.close()
if addr.startswith('13zb1hQb'):
WIF_Key = ice.btc_pvk_to_wif(ran, True)
file=open(u"WIF2.Target.Info.txt","a")
file.write('\n ' + addr + ' | ' + str(WIF_Key) + ' ' + hex(ran)[2:])
file.close()
if addr.startswith('13zb1hQbW'):
WIF_Key = ice.btc_pvk_to_wif(ran, True)
file=open(u"WIF3.Target.Info.txt","a")
file.write('\n ' + addr + ' | ' + str(WIF_Key) + ' ' + hex(ran)[2:])
file.close()
if addr.startswith('13zb1hQbWV'):
WIF_Key = ice.btc_pvk_to_wif(ran, True)
file=open(u"WIF4.Target.Info.txt","a")
file.write('\n ' + addr + ' | ' + str(WIF_Key) + ' ' + hex(ran)[2:])
file.close()
if addr == '13zb1hQbWVsc2S7ZTZnP2G4undNNpdh5so':
print('\n\n E N D O F S E A R C H . . .\n\n')
file=open(u"BTC.Target.Info.txt","a")
file.write('\n ' + addr + ' | ' + hex(current_pvk+t))
file.close()
sleep(18000)
if line_count==y*z:
L.clear()
line_count=0
P = Pv[-65:]
current_pvk += number
if __name__ == '__main__':
freeze_support()
t = time.ctime()
print('',t)
number = z
workers = []
print('\n |13zb1hQbWVsc2S7ZTZnP2G4undNNpdh5so = KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3q*******************||BIT| \n\n')
for r in range(cores):
p = Process(target=process1, args=(number,counter,))
workers.append(p)
p.start()
for worker in workers:
worker.join()