- If running inside docker, make sure to execute
docker execwith--privileged - Install
remote_pdb
pip install remote_pdb| echo <<EOF > /etc/systemd/system/vpn-bypass.service | |
| [Unit] | |
| Description=VPN Bypass for SSH and UDP ports 60000-61000 | |
| After=network.target | |
| [Service] | |
| Type=oneshot | |
| # ExecStart=/bin/sh -c 'grep -q "200 vpnbypass" /etc/iproute2/rt_tables || echo "200 vpnbypass" >> /etc/iproute2/rt_tables' | |
| # ExecStart=/bin/sh -c 'ip rule del fwmark 0xca6c lookup 200 priority 100 2>/dev/null || true' | |
| # ExecStart=/bin/sh -c 'ip route add unreachable default metric 4278198272 table 200 2>/dev/null || true' |
| #!/usr/bin/env python3 | |
| import sys | |
| import asyncio | |
| from bbot.scanner import Scanner | |
| try: | |
| file = sys.argv[-1] | |
| except KeyError: |
| #!/usr/bin/env python3 | |
| import sys | |
| import string | |
| import random | |
| import dns.resolver | |
| import threading | |
| import tldextract | |
| import concurrent.futures |
| # 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 |
| kill $(last -f /var/run/utmp | egrep -o 'mosh \[[0-9]+\]' | egrep -o '[0-9]+') |
| # 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' |
| #!/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') | |
| ] |