Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # this script is to be used in the same directory as login.py
- import time
- import os
- import sys
- import smtplib
- import glob
- # Import the wallet list
- Wallets = [line.rstrip('\n') for line in open(sys.argv[1])]
- x = 0
- updateTimer = 0
- # Scan through the list of wallets so that validate-captcha.py will be able to validate any un-tested captchas
- while x < 1:
- for y in range(len(Wallets) -1):
- try:
- f = open('Captcha_' + Wallets[y] + '.txt', 'r')
- f.close()
- os.system('python claim.py ' + Wallets[y] + ' &')
- except:
- # There's no captcha solution associated with this wallet
- pass
- # Update the Global Satoshi Balance
- os.system('python satoshi.py && cat satoshi.html')
- #if(updateTimer = 12):
- # updateTimer = 0
- # emailUpdate()
- #else:
- # updateTimer = updateTimer + 1
- # Wait 6 minutes
- time.sleep(60 * 5)
- # Reload the Wallets file just incease we've added or modified it within the last 6 minutes
- Wallets = [line.rstrip('\n') for line in open(sys.argv[1])]
- def emailUpdate():
- server = smtplib.SMTP('smtp.live.com', 587)
- server.starttls()
- # Get some Captcha Portal Stats
- # Global BTC Balance
- f = open('satoshi.html', 'r')
- BTCbalance = f.read()
- f.close()
- # Concurrent Faucet Bot Statistics
- Captchas = glob.glob('./*.jpg*')
- Solutions = glob.glob('./Captcha_*.txt*')
- message = "BTC Balance: " + BTCbalance + "\n" + "Que: " + str(len(Captchas)) + "\n" + "Count: " + str(len(Solutions))
- server.quit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement