Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import urllib2
- import smtplib
- import hashlib
- import os
- import time
- # Digital Gangster bitches
- # LAN wuz here
- site = "https://digitalgangster.com/6um/"
- username = ""
- password = ""
- server = ""
- port = 587
- rec = [""]
- msg = "6um change!"
- checkfile = "check.txt"
- while True:
- pagehash = hashlib.md5(urllib2.urlopen(site).read()).hexdigest()
- if os.path.isfile(checkfile):
- if open(checkfile, "r").read() != pagehash:
- for a in range(0, len(rec)):
- smtp = smtplib.SMTP(server, port)
- smtp.starttls()
- smtp.login(username, password)
- smtp.sendmail(username, rec[a], msg)
- smtp.quit()
- else:
- open(checkfile, "w").write(pagehash)
- print(pagehash)
- time.sleep(5*60)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement