我正在使用两个免费代理服务器使用proxychains进行测试,并将配置文件设置如下:
proxychains curl ifconfig.me/ip
[proxychains] config file found: /etc/proxychains4.conf
[proxychains] preloading /usr/lib/x86_64-linux-gnu/libproxychains.so.4
error: invalid item in proxylist section: https 45.15.168.190 8888
当我尝试通过proxychains调用一个网络调用时,它会抛出以下错误:
$ proxychains curl ifconfig.me/ip
[proxychains] config file found: /etc/proxychains4.conf
[proxychains] preloading /usr/lib/x86_64-linux-gnu/libproxychains.so.4
error: invalid item in proxylist section: https 45.15.168.190 8888
如果我删除HTTPS行,并调用它返回的相同内容,则不会出现问题:
└─$ proxychains curl ifconfig.me/ip
[proxychains] config file found: /etc/proxychains4.conf
[proxychains] preloading /usr/lib/x86_64-linux-gnu/libproxychains.so.4
[proxychains] DLL init: proxychains-ng 4.14
[proxychains] Strict chain ... 45.15.168.238:8888 ... ifconfig.me:80 ... OK
45.15.168.238
有人知道这是怎么回事吗?
发布于 2021-12-27 20:46:42
Proxchains只支持以下类型的连接: http,socks4 socks5
# ProxyList format
# type host port [user pass]
# (values separated by 'tab' or 'blank')
#
#
# Examples:
#
# socks5 192.168.67.78 1080 lamer secret
# http 192.168.89.3 8080 justu hidden
# socks4 192.168.1.49 1080
# http 192.168.39.93 8080
#
#
# proxy types: http, socks4, socks5
# ( auth types supported: "basic"-http "user/pass"-socks )```
https://stackoverflow.com/questions/69253928
复制相似问题