Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zardus committed Feb 24, 2025
1 parent 6b07290 commit 494b0bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intercepting-communication/udp-spoof-host/run
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 494b0bf

Please sign in to comment.