diff --git a/simple_ddos/py_ddos.py b/simple_ddos/py_ddos.py index 39a3e9c..d63d2bd 100644 --- a/simple_ddos/py_ddos.py +++ b/simple_ddos/py_ddos.py @@ -51,7 +51,6 @@ def check_os(): # call function to check what system is used - # Why use a try def ddos(target, port, ip: bool = False): @@ -88,5 +87,13 @@ def ddos(target, port, ip: bool = False): # thread = threading.Thread(target=ddos) # thread.start() +# This is the line I use to run this script: +# python py_ddos.py "192.168.xx.xxx" "port" +# This is the Error: +# sock.sendto(bytes1, (net, port)) +# TypeError: 'str' object cannot be interpreted as an integer +# What am I missing here? + + if __name__ == "__main__": typer.run(ddos) \ No newline at end of file