【问题标题】:Unable to get proxychains to accept HTTPS setting, but it does accept HTTP无法让代理链接受 HTTPS 设置,但它确实接受 HTTP
【发布时间】:2021-09-20 11:48:51
【问题描述】:

我正在使用几个免费的代理服务器使用代理链进行测试,并且配置文件设置如下:

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 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    

有人知道这里出了什么问题吗?

【问题讨论】:

    标签: linux https proxy


    【解决方案1】:

    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 )```
    
    
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-11-11
      • 2015-04-13
      • 1970-01-01
      • 2019-07-28
      • 1970-01-01
      • 2020-12-09
      • 2019-03-31
      • 1970-01-01
      相关资源
      最近更新 更多