Skip to content

Commit b199057

Browse files
committed
type error for s7comm-plus fixed
1 parent aa8ff43 commit b199057

File tree

3 files changed

+2
-33
lines changed

3 files changed

+2
-33
lines changed

packet/PnetPbus/Discovery.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

packet/PnetPbus/FlashLED.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

packet/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ def menuPandP():
116116
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")
117117

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

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

0 commit comments

Comments
 (0)