Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import urllib
- import urllib2
- import cookielib
- spam = """Hello there.. Im new here. I like this game a lot.
- I think I could learn a lot of this game from you
- This is not the only game I play I also play StarWars Combine
- i think we could play there together too
- http://www.swcombine.com
- after registering send me a DM
- I will help you."""
- writemail="http://warofhell.com/writemail.php"
- cj = cookielib.CookieJar()
- opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
- username = "username"
- password = "password"
- data = {"uname" : username, "peword" : password, "submit" : "Login"}
- data=urllib.urlencode(data)
- login = "http://warofhell.com/index.php"
- content = opener.open(login, data).read()
- print content
- for x in range(1000):
- values = {"to" : str(x), "check" : "123", "send3" : "Send", "subject" : "None", "message" : spam}
- data = urllib.urlencode(values)
- content = opener.open(writemail, data).read()
- print content
- print x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement