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
| #define _XOPEN_SOURCE 1 /* Required under GLIBC for nftw() */ | |
| #define _XOPEN_SOURCE_EXTENDED 1 /* Same */ | |
| /* | |
| sudo gcc -O2 -x c -o /usr/bin/bgrep bgrep.c | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> |
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
| #!/bin/bash | |
| # | |
| # Recursive resolver check | |
| # | |
| # dig +short test.openresolver.com TXT @8.8.8.8 | |
| # dig +short test.openresolver.com TXT @208.67.222.222 | |
| # dig +short test.openresolver.com TXT @198.153.192.1 | |
| # |