Skip to content

Instantly share code, notes, and snippets.

View madagra's full-sized avatar

Mario Dagrada madagra

View GitHub Profile
@madagra
madagra / hulk.py
Created May 7, 2018 15:50 — forked from rambabusaravanan/hulk.py
HULK Python Script : Denial-of-Service (DoS) attack
# ----------------------------------------------------------------------------------------------
# HULK - HTTP Unbearable Load King
#
# this tool is a dos tool that is meant to put heavy load on HTTP servers in order to bring them
# to their knees by exhausting the resource pool, its is meant for research purposes only
# and any malicious usage of this tool is prohibited.
#
# author : Barry Shteiman , version 1.0
# ----------------------------------------------------------------------------------------------
import urllib2
@madagra
madagra / place_api.py
Created December 21, 2017 19:24
Simple Python wrapper for the Google Places API
import requests
import unittest
from urllib.parse import urlencode
class CheckResponse :
def __call__(self,fn) :
def fn_wrapper(*args) :
try :
response = fn(*args)
if "status" not in response or \