Skip to content

Commit

Permalink
wtf
Browse files Browse the repository at this point in the history
  • Loading branch information
zardus committed Feb 24, 2025
1 parent 494b0bf commit b72ead5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions intercepting-communication/udp-spoof-host/run
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class ClientHost(Host):
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(b":")
print("SENDING TO:", flag_host, flag_port)
client_socket.sendto(flag.encode(), (flag_host, int(flag_port)))

time.sleep(1)
Expand Down

0 comments on commit b72ead5

Please sign in to comment.