This file contains 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
#!/usr/bin/env python3 | |
import sys | |
import asyncio | |
from bbot.scanner import Scanner | |
try: | |
file = sys.argv[-1] | |
except KeyError: |
This file contains 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
#!/usr/bin/env python3 | |
import sys | |
import string | |
import random | |
import dns.resolver | |
import threading | |
import tldextract | |
import concurrent.futures |
This file has been truncated, but you can view the full file.
This file contains 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
# top subdomain append/prepends | |
# derived from top 1 million subdomains: https://github.com/bitquark/dnspop | |
401055 {} | |
8350 {}2 | |
8035 {}1 | |
4012 {}3 | |
2766 {}4 | |
2585 {}01 | |
2183 {}5 |
This file contains 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
kill $(last -f /var/run/utmp | egrep -o 'mosh \[[0-9]+\]' | egrep -o '[0-9]+') |
This file contains 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
# default tmux config | |
cat <<EOF > "$HOME/.tmux.conf" | |
set -g mouse on | |
set -g history-limit 50000 | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tmux-logging' | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
run '~/.tmux/plugins/tpm/tpm' |
This file contains 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
#!/usr/bin/env python3 | |
from ipaddress import * | |
routes = [ | |
# destination # router | |
('10.0.0.0/24', '172.16.0.2'), | |
('0.0.0.0/0', '172.16.0.1') | |
] |