Advertisement
bwall

How to Send WebApp attacks to Defense.BallastSecurity.Net

Feb 3rd, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.52 KB | None | 0 0
  1. #Send Attack to Defense.BallastSecurity.Net
  2. worked = True
  3. try:
  4.         params = urllib.urlencode({"attacker_ip" : ip, "attacker_time" : time, "attacker_uri" : uri, "attacker_ua": useragent})
  5.         headers = {"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"}
  6.         conn = httplib.HTTPSConnection("defense.ballastsecurity.net", 8888)
  7.         conn.request("POST", "/attacks/api/web/submit", params, headers)
  8.         conn.getresponse().read()
  9.         conn.close()
  10. except:
  11.         worked = False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement