rofl0r / proxychains-ng

proxychains ng (new generation) - a preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies. continuation of the unmaintained proxychains project. the sf.net page is currently not updated, use releases from github release page instead.
http://sourceforge.net/projects/proxychains-ng/files
GNU General Public License v2.0
9.82k stars 1.08k forks source link

proxychains4 curl ok && proxychains4 ./xxx NO!!!!! #529

Closed N0o01 closed 12 months ago

N0o01 commented 12 months ago

CURL YES ➜ ~ proxychains4 -f /Applications/1/2/proxychains-ng/etc/proxychains.conf curl http:// [proxychains] config file found: /Applications/1/2/proxychains-ng/etc/proxychains.conf [proxychains] preloading /Applications/1/2/proxychains-ng/libproxychains4.dylib [proxychains] DLL init: proxychains-ng 4.16 [proxychains] Strict chain ... 127.0.0.1:1122 ... 192.168. ... OK

./ NONONONONO ➜ netspy_macos_arm64 proxychains4 -f /Applications/1/2/proxychains-ng/etc/proxychains.conf ./netspy is [proxychains] config file found: /Applications/1/2/proxychains-ng/etc/proxychains.conf [proxychains] preloading /Applications/1/2/proxychains-ng/libproxychains4.dylib dyld[8970]: terminating because inserted dylib '/Applications/1/2/proxychains-ng/libproxychains4.dylib' could not be loaded: tried: '/Applications/1/2/proxychains-ng/libproxychains4.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/1/2/proxychains-ng/libproxychains4.dylib' (no such file), '/Applications/1/2/proxychains-ng/libproxychains4.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')) dyld[8970]: tried: '/Applications/1/2/proxychains-ng/libproxychains4.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/1/2/proxychains-ng/libproxychains4.dylib' (no such file), '/Applications/1/2/proxychains-ng/libproxychains4.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')) [1] 8970 abort /Applications/1/2/proxychains-ng/proxychains4 -f ./netspy is

No matter how I execute it/ Neither xx nor curl can execute unless it supports socks5 proxy and does not require proxychains4 proxy/ Xx

rofl0r commented 12 months ago

you need to build proxychains4 as --fat-binary or get a native arm64 version of netspy.