Advertisement
skip420

bitcoin_private_key_finder

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