Advertisement
skip420

bitcoin_key_finder_random

Sep 3rd, 2021
2,485
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.11 KB | None | 1 0
  1. # python3 btc_finder.py    
  2.  
  3.  
  4.  
  5. import bitcoin, base58, ecdsa, requests, smtplib, multiprocessing, blockchain
  6. from bitcoin import *
  7.  
  8. while True:
  9.  
  10.     private_key = random_key()
  11.     public_key = privtopub(private_key)
  12.     address = pubtoaddr(public_key)
  13.  
  14.     with open("YOUR-BTC-DATA.txt", "r") as m:
  15.         add = m.read().split()
  16.         for ad in add:
  17.                 continue
  18.         if address in add:
  19.             print("Found"+ " " +address+ ' ' +private_key)
  20.             data = open("data.txt","a")
  21.             data.write(print(address+ ' ' +private_key+ ' ' +"\n"))
  22.             data.close()
  23.  
  24.             #send address and private key via email
  25.  
  26.             msg = "Found"+ " " +address+ ' ' +private_key
  27.             text = msg
  28.             server =smtplib.SMTP("smtp.gmail.com", 587)
  29.             server.ehlo()
  30.             server.starttls()
  31.             server.login("[email protected]", "your-gmail-password")
  32.             fromaddr = "[email protected]"
  33.             toaddr = "[email protected]"
  34.             server.sendmail(fromaddr, toaddr, text)
  35.         else:
  36.             print(address+ ' ' +private_key)
  37.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement