Runs any command through proxychains-ng using a local SOCKS port from a small config file (optional picker when you have more than one port).
You need proxychains4 on your system (the proxychains-ng package). Other deps: whatever command you wrap (e.g. nxc).
Option A — prebuilt (Linux x86_64)
Grab proxypilot-linux-x86_64 from Releases, then:
sudo install -m 755 proxypilot-linux-x86_64 /usr/local/bin/proxypilot(Use /usr/bin instead of /usr/local/bin if you prefer.)
Option B — build
cargo build --release
sudo install -m 755 target/release/proxypilot /usr/local/bin/proxypilot1. Create the config (writes ~/.config/proxypilot/ports — ports and optional labels):
proxypilot init2. Run a command through the proxy (args are passed through as-is):
proxypilot nxc smb 192.168.1.10
proxypilot nxc ldap 10.0.0.5 -u user -p pass
proxypilot sudo nmap -sT -Pn -n -vvPrivileged tools (e.g. some nmap scans) can be run as proxypilot sudo … instead of sudo proxypilot …. When the wrapped command is sudo, proxypilot adds --preserve-env=LD_PRELOAD (and -E if needed) so proxychains-ng still hooks the process sudo runs. Set PROXYPILOT_NO_SUDO_WRAP=1 to pass sudo arguments through unchanged.
One port in the file → it is used automatically. Several ports → pick one in the prompt (↑/↓, Enter, Esc to cancel).