Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Python - Extract privkeys from a blockchain.info unencrypted addr/key dump
SUBMITTED BY:
Guest
DATE:
Oct. 11, 2013, 6:12 p.m.
FORMAT:
Python
SIZE:
446 Bytes
Raw
Download
Tweet
HITS:
1462
Go to comments
Report
import
time
file
=
open
(
'input.txt'
,
'r'
)
text
=
file
.
readlines
()
file
.
close
()
address
=
input
(
"Pull private key for: "
)
for
line
in
text
:
# Replacement for re.compile
if
address
in
line
:
output
=
line
;
file
=
open
(
'output.txt'
,
'r+'
)
file
.
write
(
output
)
file
.
close
()
print
(
output
)
print
(
"The private key has been written to output.txt."
)
time
.
sleep
(
5
)
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus