20231002新增替代
https://github.com/nicocha30/ligolo-ng
20230707修改
git clone https://github.com/rofl0r/proxychains-ng.git
cd ./proxychains-ng
make clean
CFLAGS="-arch x86_64 -arch=arm64e" LDFLAGS="-arch x86_64 -arch=arm64e" ./configure
sudo make install
sudo make install-config
#配置文件,即/usr/local/etc/proxychains.conf文件
#最后一行配置代理,其他不用动
以下失效
m1直接使用brew安装proxychains-ng会报错
解决过程:
github下载源码自己编译。
禁用sip,百度...不写
下载proxychains-ng https://github.com/rofl0r/proxychains-ng
解压 tar -xvf proxychainsxxxxxx
重点来了 ,三次编译
第一次编译: cd proxychains-ng-4.16 make clean CFLAGS="-arch arm64e" LDFLAGS="-arch arm64e" ./configure make 将libproxychains4.dylib复制到新建一个bak目录下 mkdir bak cp libproxychains4.dylib ./bak
第二次编译: make clean CFLAGS="-arch arm64e" LDFLAGS="-arch arm64e" ./configure make 将libproxychains4.dylib复制到bak目录下,覆盖 cp libproxychains4.dylib ./bak
第三次编译: make clean CFLAGS="-arch arm64" LDFLAGS="-arch arm64" ./configure sudo make install 使用install.sh复制./bak/libproxychains4.dylib 到/usr/local/lib/目录 sudo ./tools/install.sh -D -m 644 bak/libproxychains4.dylib /usr/local/lib/libproxychains4.dylib
配置文件在/etc/proxychains.conf sudo vi /etc/proxychains.conf