Advertisement
Guest User

Untitled

a guest
Mar 30th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. import requests
  2. from bs4 import BeautifulSoup
  3. import time
  4. msg = 'Join the discord chat: https://discord.gg/kCmEFUk !!!\nIt is not the "official" HE discord but rather a laid back chat for players who want to hangout with the community.\nIf you want to learn tips and tricks, buy or sell software, target IPs, and much much more, this is the server for you!'
  5. PHPSESS = input("Enter the PHPSESSID: ")
  6. global s
  7. s = requests.Session()
  8. s.cookies.update ({
  9. "PHPSESSID" : PHPSESS,
  10. })
  11. def InternetSignature():
  12. url = 'https://legacy.hackerexperience.com/logEdit'
  13. payload = {
  14. 'id':0,
  15. 'log':msg
  16. }
  17. response = s.post(url,payload)
  18. newURL = response.url
  19. time.sleep(4)
  20. Log = s.get(newURL)
  21.  
  22. def InternetChecker():
  23. url = 'https://legacy.hackerexperience.com/internet?view=logs'
  24. html = s.get(url)
  25. html = html.text
  26. if 'Trending Sites:' in html:
  27. print("")
  28. else:
  29. if msg in html:
  30. print("")
  31. else:
  32. InternetSignature()
  33.  
  34. while True:
  35. time.sleep(1)
  36. InternetChecker()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement