Created
October 20, 2023 05:50
-
-
Save excitedplus1s/7e11b43b34067daf263108eec32bf57c to your computer and use it in GitHub Desktop.
GFW DNS query protect
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
| UDP | |
| echo -en '\x39\x21\x01\x20\x00\x01\x00\x00\x00\x00\x00\x01\xc0\x29\x00\x01\x00\x01\x00\x00\x29\x10\x00\x00\x00\x00\x00\x00\x0c\x00\x0a\x00\x08\xd9\x68\x98\x35\xdb\x07\xd2\x62\x04\x76\x32\x65\x78\xc0\x30\xc0\x32\xc0\x34\xc0\x36\xc0\x38\xc0\x3a\xc0\x3c\xc0\x3e\xc0\x40\xc0\x42\xc0\x44\xc0\x46\xc0\x48\xc0\x4a\xc0\x4c\xc0\x4e\xc0\x50\x03\x63\x6f\x6d\x00' | nc -u -w2 8.8.8.8 53 | hd | |
| TCP | |
| echo -en '\x00\x55\x39\x21\x01\x20\x00\x01\x00\x00\x00\x00\x00\x01\xc0\x29\x00\x01\x00\x01\x00\x00\x29\x10\x00\x00\x00\x00\x00\x00\x0c\x00\x0a\x00\x08\xd9\x68\x98\x35\xdb\x07\xd2\x62\x04\x76\x32\x65\x78\xc0\x30\xc0\x32\xc0\x34\xc0\x36\xc0\x38\xc0\x3a\xc0\x3c\xc0\x3e\xc0\x40\xc0\x42\xc0\x44\xc0\x46\xc0\x48\xc0\x4a\xc0\x4c\xc0\x4e\xc0\x50\x03\x63\x6f\x6d\x00' | nc -q1 8.8.8.8 53 | hd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment