From 1925178f20e5af9b2190d8797de982367c36b4ae Mon Sep 17 00:00:00 2001 From: Tiffany Date: Thu, 9 Nov 2023 17:44:28 -0500 Subject: [PATCH] Add comment about error received during run --- simple_ddos/py_ddos.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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