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

proxychains4 doesn't work for she-bang commands on macOS

Open tommyZZM opened this issue 6 years ago • 1 comments

os: macOS 10.14.6

proxychains4 doesn't works for sha-bang commands on my machine. such as npm.

proxychains4 npm install npm -g
[proxychains] config file found: /usr/local/etc/proxychains.conf
[proxychains] preloading /usr/local/Cellar/proxychains-ng/4.14/lib/libproxychains4.dylib
⸨░░░░░░░░░░░░░░░░░░⸩ ⠏ loadRequestedDeps: sill install loadAllDepsIntoIdealTree

proxychains4 will work, if call npm directly with node

proxychains4 node /Users/MeXXX/.nvs/default/bin/npm install npm -g
[proxychains] config file found: /usr/local/etc/proxychains.conf
[proxychains] preloading /usr/local/Cellar/proxychains-ng/4.14/lib/libproxychains4.dylib
[proxychains] DLL init: proxychains-ng 4.14
[proxychains] Strict chain  ...  127.0.0.1:1080  ...  registry.npmjs.org:443  ...  OK
⸨░░░░░░░░░░░░░░░░░░⸩ ⠏ loadRequestedDeps: sill install loadAllDepsIntoIdealTree

tommyZZM avatar Nov 20 '19 07:11 tommyZZM

is there strace for macOS ? if so it could be used to compare what actually gets started and how.

rofl0r avatar Nov 20 '19 18:11 rofl0r