Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import urllib, urllib2
- def send_message(ip_port):
- print(ip_port)
- try:
- urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler({"http" : ip_port})))
- page = urllib2.urlopen(urllib2.Request('http://anon.fm/feedback/'), timeout=5).read()
- cid = page.split("name=\"cid\" value=\"", 1)[1].split("\"", 1)[0]
- urllib.urlretrieve("http://anon.fm" + page.split("<img src=\"", 1)[1].split("\"", 1)[0], "captcha.gif")
- print(cid)
- captcha = raw_input("Captcha: ")
- message = raw_input("Message: ")
- urllib2.urlopen(urllib2.Request("http://anon.fm/feedback", urllib.urlencode({"cid" : cid, "left" : 500-len(message), "msg" : message, "check" : captcha})))
- except:
- print("Pass\n")
- with open("proxies", "r") as f_in:
- for line in f_in:
- send_message(line[:-1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement