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.67k stars 1.07k forks source link

code signing blocked mmap() #159

Open willin opened 7 years ago

willin commented 7 years ago
proxychains4 curl http://ifconfig.co/
[proxychains] config file found: /usr/local/etc/proxychains.conf
[proxychains] preloading /usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib
[proxychains] DLL init: proxychains-ng 4.12
[proxychains] Strict chain  ...  127.0.0.1:1111  ...  ifconfig.co:80  ...  OK
xxx.xxx.xxx.xxx

test ok....

but sometimes:

[proxychains] DLL init: proxychains-ng 4.12
dyld: warning: could not load inserted library '/usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib' into librar
y validated process because no suitable image found.  Did find:
        /usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib: code signing blocked mmap() of '/usr/local/Cellar/p
roxychains-ng/4.12_1/lib/libproxychains4.dylib'
[proxychains] DLL init: proxychains-ng 4.12
dyld: warning: could not load inserted library '/usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib' into librar
y validated process because no suitable image found.  Did find:
        /usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib: code signing blocked mmap() of '/usr/local/Cellar/p
roxychains-ng/4.12_1/lib/libproxychains4.dylib'
[proxychains] DLL init: proxychains-ng 4.12
dyld: warning: could not load inserted library '/usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib' into librar
y validated process because no suitable image found.  Did find:
        /usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib: code signing blocked mmap() of '/usr/local/Cellar/p
roxychains-ng/4.12_1/lib/libproxychains4.dylib'
[proxychains] DLL init: proxychains-ng 4.12
[proxychains] Strict chain  ...  127.0.0.1:1111  ...  git.coding.net:22  ...  OK
Warning: the RSA host key for 'git.coding.net' differs from the key for the IP address '224.0.0.1'
Offending key for IP in /Users/xxxx/.ssh/known_hosts:12
Matching host key in /Users/xxxx/.ssh/known_hosts:10

when

npm install
git push
git pull

and so on

rofl0r commented 7 years ago

which crapintosh version ?

willin commented 7 years ago

os x 10.12.3 macbook pro 15 later 2016

rofl0r commented 7 years ago

did you see #78 ?

willin commented 7 years ago

yes, csrutil enabled.

dyld: warning: could not load inserted library '/usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib' into librar
y validated process because no suitable image found.  Did find:
        /usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib: code signing blocked mmap() of '/usr/local/Cellar/p
roxychains-ng/4.12_1/lib/libproxychains4.dylib'

it's just a warning msg

FrankFang commented 7 years ago

Same for me. I want to silent the dyld warnings.

rofl0r commented 7 years ago

is it really just a warning ? it may actually render proxychains non-working. i do however not know how to fix at the moment. supposedly they want a signed binary, someone would need to create signed builds for OSX by subscribing to the Apple Developer program. that however kinda defeats the purpose of open source.

FrankFang commented 7 years ago

@rofl0r Warnings disappear after I use commands installed from homebrew instead of ones from macOS system :) @willin

Frankr0 commented 6 years ago

So do I.

FrankFang commented 6 years ago

brew install curl/git/whatever then proxychains4 curl/git/whatever done.