==========================
ICS-Hacking
==========================
® by Miguel Oleo Blanco
1 -- S7Comm
2 -- S7Comm-plus
3 -- SCADA
4 -- Profinet & Profibus
5 -- Exit
Enter your choice: 3
Please, type in the destination IP: 192.168.1.10
Please, type in the RACK (DEFAULT IS 0): 0
Please, type in the the SLOT (DEFAULT IS 1): 1
Traceback (most recent call last):
File "main.py", line 135, in <module>
plc.connect(IP,RACK,SLOT) #Connects to the client
File "/home/tobjasr/.local/lib/python3.8/site-packages/snap7/client.py", line 25, in f
code = func(*args, **kw)
File "/home/tobjasr/.local/lib/python3.8/site-packages/snap7/client.py", line 197, in connect
c_int(rack), c_int(slot))
TypeError: an integer is required (got type str)