-
Notifications
You must be signed in to change notification settings - Fork 0
/
SeekplaceFull.py
150 lines (142 loc) · 5 KB
/
SeekplaceFull.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
#!/usr/bin/env python
# coding=utf8
# pboywalltools : Tool code used for the Pboy wall paint bitcoin puzzle
# Copyright (C) 2019 Antoine FERRON
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
#
import sys, pickle
from CryptoPlatinum import *
def testadrs():
None
def sortalphabet():
None
def pickwords(l1,l2):
None
def remacc( stri ):
return stri.decode("ascii","ignore")
if __name__ == '__main__':
mnemonicwl = [
"mensonge usure banquier {0} conduire triomphe union citoyen horizon jaune {1} espoir",
"{0} mensonge usure banquier conduire triomphe union citoyen horizon jaune {1} espoir",
"mensonge usure banquier {0} union citoyen conduire triomphe horizon jaune {1} espoir",
"{0} mensonge usure banquier union citoyen conduire triomphe horizon jaune {1} espoir",
"banquier usure mensonge {0} union citoyen conduire triomphe horizon jaune {1} espoir",
"banquier usure mensonge {0} conduire triomphe union citoyen horizon jaune {1} espoir",
"banquier usure mensonge {0} espoir {1} union citoyen conduire triomphe horizon jaune",
"banquier usure mensonge {0} espoir {1} conduire triomphe union citoyen horizon jaune",
"banquier usure mensonge {0} {1} espoir union citoyen conduire triomphe horizon jaune",
"banquier usure mensonge {0} {1} espoir conduire triomphe union citoyen horizon jaune"
]
motrl = [
"parole",
"unique",
"favori",
"peuple",
"rincer",
"rondin",
"renard",
"renvoi",
"utopie",
"public",
"révolte",
"poteau",
"rideau",
"rouleau",
"absolu",
"infini",
"samedi",
"ennemi",
"fourmi",
"thorax",
"abolir",
"croire",
"époque",
"étoile",
"gloire",
"isoler",
"propre",
"guide",
"priver",
"irréel",
"libérer",
"histoire",
"civil",
"social",
"bataille",
"victoire",
"gloire",
"combat",
"courage",
"drapeau",
"incendier",
"avancer",
"flamme",
"incendie",
"lumière",
"survie",
"peintre",
"réagir",
"réaliser",
"réclamer",
"tolérant",
"voter"
]
motxl = bitcoin.wordlist_french
passphrase = ""
network = 5
i = 0
for mnemonicw in mnemonicwl:
for motr in motrl:
for motx in motxl:
mnemonic = mnemonicw.format(motr, motx)
if i%1000==0:
print i
print mnemonic
seedBIP39 = mnemonic2seed(mnemonic, passphrase, "PBKDF2-2048-HMAC-SHA512")
seedBitAdr = mnemonic2seed(mnemonic, passphrase, "SHA256")
seedBitAdrNFKD = mnemonic2seed(mnemonic, passphrase, "SHA256-NFKD")
badr = seed2address(seedBitAdr, network, "", False)
badrNFKD = seed2address(seedBitAdrNFKD, network, "", False)
bcadrnh = seed2address(seedBIP39, network, "m/0'/0'/0")
bcadr = seed2address(seedBIP39, network, "m/0'/0'/0'")
bciadr = seed2address(seedBIP39, network, "m/44'/0'/0'/0")
mbadr = seed2address(seedBIP39, network, "m/0'/0/0")
b39 = seed2address(seedBIP39, network, "m")
b44 = seed2address(seedBIP39, network, "m/44'/0'/0'/0/0")
if "1NqPwPp7hEXZ3Atj77Ue11xAEMmXqAXwrQ" in ( badr, bcadr, bcadrnh, bciadr,mbadr, b44, badrNFKD, b39):
print " >>>>>>>>>>>>>>> FOUND <<<<<<<<<<<<<<<<<"
print " !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
print " BRAVO !"
print ""
print mnemonic
sys.exit(0)
mnemonic2 = mnemonicw.format(motx, motr)
seedBIP39 = mnemonic2seed(mnemonic2, passphrase, "PBKDF2-2048-HMAC-SHA512")
seedBitAdr = mnemonic2seed(mnemonic2, passphrase, "SHA256")
seedBitAdrNFKD = mnemonic2seed(mnemonic, passphrase, "SHA256-NFKD")
badr = seed2address(seedBitAdr, network, "", False)
badrNFKD = seed2address(seedBitAdrNFKD, network, "", False)
bcadrnh = seed2address(seedBIP39, network, "m/0'/0'/0")
bcadr = seed2address(seedBIP39, network, "m/0'/0'/0'")
bciadr = seed2address(seedBIP39, network, "m/44'/0'/0'/0")
mbadr = seed2address(seedBIP39, network, "m/0'/0/0")
b39 = seed2address(seedBIP39, network, "m")
b44 = seed2address(seedBIP39, network, "m/44'/0'/0'/0/0")
if "1NqPwPp7hEXZ3Atj77Ue11xAEMmXqAXwrQ" in ( badr, bcadr, bcadrnh, bciadr,mbadr, b44, badrNFKD, b39):
print " >>>>>>>>>>>>>>> FOUND <<<<<<<<<<<<<<<<<"
print " !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
print " BRAVO !"
print ""
print mnemonic2
sys.exit(0)
i += 1
#raw_input("Press ENTER to quit")