Advertisement
Guest User

How to spam warofhell.com

a guest
Mar 30th, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1.  
  2. import urllib
  3. import urllib2
  4. import cookielib
  5.  
  6. spam = """Hello there.. Im new here. I like this game a lot.
  7. I think I could learn a lot of this game from you
  8. This is not the only game I play I also play StarWars Combine
  9. i think we could play there together too
  10.  
  11.  
  12. http://www.swcombine.com
  13.  
  14.  
  15. after registering send me a DM
  16. I will help you."""
  17.  
  18. writemail="http://warofhell.com/writemail.php"
  19.  
  20. cj = cookielib.CookieJar()
  21. opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
  22. username = "username"
  23. password = "password"
  24. data = {"uname" : username, "peword" : password, "submit" : "Login"}
  25. data=urllib.urlencode(data)
  26. login = "http://warofhell.com/index.php"
  27. content = opener.open(login, data).read()
  28. print content
  29. for x in range(1000):
  30. values = {"to" : str(x), "check" : "123", "send3" : "Send", "subject" : "None", "message" : spam}
  31. data = urllib.urlencode(values)
  32. content = opener.open(writemail, data).read()
  33. print content
  34. print x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement