Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Send Attack to Defense.BallastSecurity.Net
- worked = True
- try:
- params = urllib.urlencode({"attacker_ip" : ip, "attacker_time" : time, "attacker_uri" : uri, "attacker_ua": useragent})
- headers = {"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"}
- conn = httplib.HTTPSConnection("defense.ballastsecurity.net", 8888)
- conn.request("POST", "/attacks/api/web/submit", params, headers)
- conn.getresponse().read()
- conn.close()
- except:
- worked = False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement