Hi Dude, I am aware of this problem and it has the following cause..
The range is limited by random (9223372036854775807).. so 66 bit can only be partially scanned...
In this case from 30000000000000000 - 37ffffffffffffffff, then 37ffffffffffffffff + 9223372036854775807 (7fffffffffffffff), etc...
this is the maximum of random Range..
print('\n > The range is limited by random (9223372036854775807).. so 66 bit can only be partially scanned! <')
print('\n > In this case from 30000000000000000 - 37ffffffffffffffff ! < \n\n')
import gc
import tqdm
import time
import random
import bit
from bit import *
from time import sleep
t = time.ctime()
print('',t)
list=[]
i = 1000000
while True:
start = time.time()
print('\n\n generate',str(i),'Keys and sort..... ')
del list
gc.collect(generation=2)
sleep(1)
list = random.sample(range(55340232221128654848,64563604257983430655), i)
list.sort()
n = len(list)
ende = time.time()
if n == i:
print ('\n',n,'Keys DONE !!','{:5.3f}s'.format(ende-start))
sleep(1)
print ('\n Start Scanning..!! \n')
sleep(2)
for line in tqdm.tqdm(list):
line != "\n"
key1 = Key.from_int(line)
y1 = key1.address
if y1.startswith('13zb1h'):
print('\n\n ' + hex(line) + ' \n ' + y1,'\n')
file=open(u"Addr.Info.txt","a")
file.write('\n '+hex(line)+' | '+ y1)
file.close()
sleep(3)
print('\n continue...\n')
sleep(1)
if y1 == "13zb1hQbWVsc2S7ZTZnP2G4undNNpdh5so":
print('\n\n Target found!!' + hex(line) + ' \n ' + y1,'\n')
file=open(u"16j.Target.Info.txt","a")
file.write('\n '+hex(line)+' | '+ y1)
file.close()
sleep(3)
print('\n\n STOP!')
sleep(1)
break
Similar structure, without "random.sample" limit, with "random.randrange" there is no such limit...
import tqdm
import time
import random
import bit
from bit import *
from time import sleep
from tqdm import tqdm
t = time.ctime()
print('',t)
print('\n ============== ================= ==RANDOM HUNTER== ================= ==============\n\n')
list=[]
list.clear()
i = 4000000
print(' generate',str(i),'Random Keys..... ')
while len(list)<=i:
a1 = random.randrange(0x20000000000000000,0x3ffffffffffffffff)
list.append(a1)
if len(list)==i:
line_count=0
print ('',i,'Keys DONE !!')
sleep(1)
print ('\n Start Scanning..!! \n')
sleep(2)
for line in tqdm(list):
line != "\n"
seed=str(line)
key = Key.from_int(line)
y1 = key.address
line_count+=1
if y1.startswith('13zb1h'):
print('\n\n ' + hex(line) + ' | ' + y1,'\n')
print(' continue...\n')
sleep(1)
if y1 == "13zb1hQbWVsc2S7ZTZnP2G4undNNpdh5so":
print('\n\n Target found!!' + hex(line) + ' \n ' + y1,'\n')
file=open(u"16j.Target.Info.txt","a")
file.write('\n '+hex(line)+' | '+ y1)
file.close()
sleep(3)
wait = input("Press Enter to Exit.")
sleep(1)
exit()
if line_count==i:
list.clear()
if len(list)==0:
print('\n generate',str(i),'Random Keys..... ')