-
Notifications
You must be signed in to change notification settings - Fork 12
/
P2SH.py
82 lines (67 loc) · 2.84 KB
/
P2SH.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
from hdwallet import HDWallet
from hdwallet.symbols import BTC as SYMBOL
from hexer import mHash
from datetime import datetime
import threading
def timer() :
tcx = datetime.now().time()
return tcx
p2shp = """
---***---
███╗ ██████╗ ██████╗ ███████╗██╗ ██╗ ███╗
██╔╝ ██╔══██╗╚════██╗██╔════╝██║ ██║ ╚██║
██║ ██████╔╝ █████╔╝███████╗███████║ ██║
██║ ██╔═══╝ ██╔═══╝ ╚════██║██╔══██║ ██║
███╗ ██║ ███████╗███████║██║ ██║ ███║
╚══╝ ╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝ ╚══╝
---***---
"""
print(p2shp)
filename = 'p2sh.txt'
with open(filename) as f :
add = f.read().split()
add = set(add)
print('[*]All Address TYPE P2SH+P2WSH Start With 3 import Now...' , timer() , '\n')
print('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(M M D R Z A . C o M)~~~~~~~~~~~~~~~~~~~~~~~~~~\n')
r = 1
cores = 2
def seek(r) :
z = 0
w = 0
while True :
txx = timer()
hdwallet: HDWallet = HDWallet(symbol = SYMBOL)
hdwallet.from_private_key(private_key = mHash())
addr2 = hdwallet.p2wpkh_in_p2sh_address()
addr3 = hdwallet.p2wsh_in_p2sh_address()
addr6 = hdwallet.p2sh_address()
priv = hdwallet.private_key()
print('Total:' ,str(z) ,'Win:' ,str(w) ,
' [ Bitcoin Address Type:P2SH(3) ] ----- ', txx , end = '\r')
z += 1
if addr2 in add or addr3 in add or addr6 in add :
w += 1
print('Winning Wallet On Database File Imported ... [LOADED]')
print('All Details Saved On Text File Root Path ... [WRITED]')
f = open("p2shWinerWalletDetails.txt" , "a")
f.write('\n' , str(addr2))
f.write('\n' , str(addr3))
f.write('\n' , str(addr6))
f.write('\n' , str(priv))
f.write('\n==========[PROGRAMMER BY MMDRZA.CoM]==========\n')
f.close()
print('Information File Name ========> p2shWinerWalletDetails.txt [OK]')
continue
seek(r)
t1 = Thread(target = timer)
t2 = Thread(target = timer)
t3 = Thread(target = seek , args = r)
t4 = Thread(target = seek , args = r)
t1.start()
t2.start()
t3.start()
t4.start()
t1.join()
t2.join()
t3.join()
t4.join()