Skip to content

Commit

Permalink
type error for s7comm-plus fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelob committed Oct 11, 2022
1 parent aa8ff43 commit b199057
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 33 deletions.
16 changes: 0 additions & 16 deletions packet/PnetPbus/Discovery.py

This file was deleted.

15 changes: 0 additions & 15 deletions packet/PnetPbus/FlashLED.py

This file was deleted.

4 changes: 2 additions & 2 deletions packet/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ def menuPandP():
print("The only way to stop this attack is closing this programm or typing cntrl+C or waiting it to complete the iterations\n\n")

IP = str(input('Please, type in the destination IP: '))
PORT = str(input('Please, type in the S7Comm-plus port (default is 102 for Siemens): '))
ITERS = str(input('Please, type in the the number of tries the denial of service will run (equals running time): '))
PORT = int(str(input('Please, type in the S7Comm-plus port (default is 102 for Siemens): ')))
ITERS = int(str(input('Please, type in the the number of tries the denial of service will run (equals running time): ')))

for x in range(1,ITERS):
s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
Expand Down

0 comments on commit b199057

Please sign in to comment.