Last active
September 16, 2025 21:06
-
-
Save JakubVanek/1254104aac9fc5c45f6bd065c36d0bfe to your computer and use it in GitHub Desktop.
Windows Server NAT bug reproducer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import socket | |
| def sendit(msg): | |
| with socket.socket(socket.AF_INET, socket.SOCK_DGRAM) as sock: | |
| sock.sendto(msg, ("<FILL SOME IP HERE>", 1234)) | |
| # NOTE: you'll probably want to have something listening on that IP. | |
| # I have spawned a Ubuntu Linux VM for this; then I used "nc -k -u -l 1234" to receive the data | |
| for i in range(256): | |
| sendit(b"a"*300) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment