proxychains-ng icon indicating copy to clipboard operation
proxychains-ng copied to clipboard

add proxychains-cli to help using inline config

Open 0x0a0d opened this issue 3 weeks ago • 1 comments

  • add env PROXYCHAINS_CONFIG_FD= to proxychains4 that will be used to get content and parse before using file parsing (default behavior)
  • add proxychains-cli that take and parse inline config to fd(3) then pipe to proxychains4
  • add cli test in /tests/cli/test-cli.sh
  • add uninstall to Makefile
  • add _proxychains-cli to complications/zsh
  • more details read more on README-CLI.md

Options

Option Default Description
-h, --help Print help and exit
-v, --version Print version and exit
-c, --chain MODE strict Chain mode: strict/dynamic/random/round_robin
-l, --chain-len N Chain length (for random/round_robin)
-q, --quiet Quiet mode
-d, --dns MODE proxy DNS: proxy/old/off/IP:PORT
-S, --dns-subnet N 224 Remote DNS subnet (0-255)
-R, --read-timeout MS 15000 TCP read timeout (ms)
-T, --connect-timeout MS 8000 TCP connect timeout (ms)
-n, --localnet CIDR Bypass proxy for CIDR (repeatable)
--dnat "SRC DST" DNAT mapping (repeatable)
-P, --proxy "IP PORT [ USER PASS ]" Add proxy (repeatable)
--config Print config and exit
--proxychains-path PATH proxychains4 Path to proxychains4 binary

0x0a0d avatar Dec 05 '25 23:12 0x0a0d

ok, as usual all your AI generated content again makes this a huge PR, which takes every reload take half a minute. for now, exclude all your README and zsh etc additions until we got the proxychains4-cli, Makefile, and libproxychains.c right so i dont have to waste my time with secondary stuff until the primary stuff is right.

rofl0r avatar Dec 06 '25 23:12 rofl0r