Add comment about error received during run

This commit is contained in:
Tiffany 2023-11-09 17:44:28 -05:00
parent 68cc8479f6
commit 1925178f20

View file

@ -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)