diff --git a/intercepting-communication/udp-spoof-host/run b/intercepting-communication/udp-spoof-host/run index 682b3bd..cdb1d71 100755 --- a/intercepting-communication/udp-spoof-host/run +++ b/intercepting-communication/udp-spoof-host/run @@ -31,7 +31,7 @@ class ClientHost(Host): client_socket.sendto(b"ACTION?", ("10.0.0.3", 31337)) message, (peer_host, peer_port) = client_socket.recvfrom(1024) if peer_port == 31337 and message.strip() == b"FLAG": - _, flag_host, flag_port = message.strip().split(":") + _, flag_host, flag_port = message.strip().split(b":") client_socket.sendto(flag.encode(), (flag_host, int(flag_port))) time.sleep(1)