Add comment about error received during run
This commit is contained in:
parent
68cc8479f6
commit
1925178f20
1 changed files with 8 additions and 1 deletions
|
@ -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)
|
Loading…
Reference in a new issue