Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import urllib
- import urllib2
- print "------------------------"
- print "-- Lovely Horsey Spam --"
- print "------------------------"
- # Lovely Horsey Spam Kit
- def sendRequest(url):
- print "Dispatched"
- method = "POST"
- handler = urllib2.HTTPHandler()
- opener = urllib2.build_opener(handler)
- data = urllib.urlencode({'emailaddress': 'abc@123.com', 'whytosignup': 'why the hell not?', 'human': 7+5})
- request = urllib2.Request(url, data=data)
- request.add_header('Content-Type', 'x-www-form-urlencoded')
- request.get_method = lambda: method
- try:
- connection = opener.open(request)
- except urllib2.HTTPError, e:
- connection = e
- if connection.code == 200:
- data = connection.read()
- print "Connected"
- else:
- print "Failed to connect"
- count = 0
- totalRequests = 1000
- while count < totalRequests:
- print "Starting..."
- sendRequest('https://protld.host/beta.combean/signup.php')
- count = count + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement