- from httplib2 import Http
- from urllib import urlencode
- import random
- numberofthreads=10
- import threading
- a=0
- class fuckingthread ( threading.Thread ):
- def run ( self ):
- a=0
- while 1:
- a+=1
- h = Http(disable_ssl_certificate_validation=True)
- data = {'user[_explicitType]': 'User', 'user[firstName]': str(''.join(random.choice("abcdefghij") for x in range(14))), 'user[lastName]': str(''.join(random.choice("abcdefghij") for x in range(14))), 'user[emailAddress]': str(''.join(random.choice("abcdefghij") for x in range(14))) + '@yahoo.com' , 'user[dateOfBirth]':'1987-12-13', 'user[origin]': 'hub', 'user[locale]':'en_GB', 'user[facebookConnected]': 'false', 'user[vkontaktConnected]':'false', 'user[isMobile]':'false', 'user[password]': str(''.join(random.choice("abcdefghij") for x in range(14))), 'createTemporarySubmission':'false', 'locale':'en_GB'}
- headers = {'Content-type': 'application/x-www-form-urlencoded','User-Agent': 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)','Referer': 'https://www2.axeapollo.com/en_GB/register'}
- resp, content = h.request("https://www2.axeapollo.com/gateway.php?action=User.register", "POST" ,headers=headers, body=urlencode(data))
- #print resp
- print content
- print ""
- cook = resp['set-cookie']
- cook = cook[cook.rfind("PHPSESSID"):cook[cook.rfind("PHPSESSID"):].find(";") + cook.rfind("PHPSESSID") + 1] + cook[cook.rfind("axeapollo"):cook[cook.rfind("axeapollo"):].find(";") + cook.rfind("axeapollo") + 1] + cook[cook.rfind("AWSELB"):cook[cook.rfind("AWSELB"):].find(";") + cook.rfind("AWSELB") + 1] + cook[cook.rfind("AXEASAA"):cook[cook.rfind("AXEASAA"):].find(";") + cook.rfind("AXEASAA") + 1]
- data = {'userId': '122849', 'options[type]':'user','locale': 'en_GB'}
- headers = {'Cookie': cook,'Content-type': 'application/x-www-form-urlencoded; charset=utf-8','User-Agent': 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)','Accept': 'application/json','Referer': 'https://www2.axeapollo.com/en_GB/358075/erika-treial/','X-Requested-With': 'XMLHttpRequest','X-Request': 'JSON', 'Pragma': 'no-cache'}
- resp, content = h.request("https://www2.axeapollo.com/gateway.php?action=User.vote", "POST" ,headers=headers, body=urlencode(data))
- #print resp
- print content
- print a
- for i in range(numberofthreads):
- currentthread = fuckingthread()
- currentthread.start()
Untitled
Posted by Anonymous on Wed 24th Apr 2013 11:00
raw | new post
view followups (newest first): Untitled by Anonymous
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.
kpaste.net RSS