Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Proxychains在kali linux上找不到文件_Linux_Proxy_Dns_Iceweasel - Fatal编程技术网

Proxychains在kali linux上找不到文件

Proxychains在kali linux上找不到文件,linux,proxy,dns,iceweasel,Linux,Proxy,Dns,Iceweasel,我的kali linux和proxychains有问题:它输出以下错误。似乎找不到exec的引用指针,或者exec的信息有误 我已经检查了resolv.conf文件,看起来一切正常,proxychains.conf文件也运行正常。我尝试了多个dns服务器,但结果相同 有人有办法吗? 命令行的输出: root@kali:~# proxychains iceweasel www.google.com ProxyChains-3.1 (http://proxychains.sf.net) |DN

我的kali linux和proxychains有问题:它输出以下错误。似乎找不到exec的引用指针,或者exec的信息有误

我已经检查了resolv.conf文件,看起来一切正常,proxychains.conf文件也运行正常。我尝试了多个dns服务器,但结果相同

有人有办法吗? 命令行的输出:

 root@kali:~# proxychains iceweasel www.google.com
 ProxyChains-3.1 (http://proxychains.sf.net)
 |DNS-request| www.google.com 
 can't exec proxyresolv: No such file or directory
 |DNS-response|: www.google.com is not exist
 |DNS-request| www.google.com 
 can't exec proxyresolv: No such file or directory
 |DNS-response|: www.google.com is not exist

如果出现同样的问题,
proxyresolv
的符号链接似乎已被破坏。巧合我想不是。与最新升级有关

修正:


ln-s/usr/lib/proxychains3/proxyresolv/usr/bin/
我在

Linux-kali 3.18.0-kali3-586#1 Debian 3.18.6-1~kali2(2015-03-02)i686 GNU/Linux

root@kali:~# proxychains msfconsole
ProxyChains-3.1 (http://proxychains.sf.net)
[*] Starting the Metasploit Framework console...-[-] Failed to connect to the database: could not connect to server: Connection refused
    Is the server running on host "localhost" (127.0.0.1) and accepting
    TCP/IP connections on port 5432?
下面是我如何让它启动并运行的:

  • 首先确保此符号链接存在:

    ln -s /usr/lib/proxychains3/proxyresolv /usr/bin/
    
  • 注释掉
    /etc/proxychains.conf
    中的
    代理dns
    行:

    # Proxy DNS requests - no leak for DNS data
    #proxy_dns
    
  • 我还没有找到正确的方法让它在启用代理dns时工作

    再试一次,似乎效果不错

    root@kali:~# proxychains msfconsole
    ProxyChains-3.1 (http://proxychains.sf.net)
    [*] Starting the Metasploit Framework console...|
    # cowsay++
     ____________
    < metasploit >
     ------------
           \   ,__,
            \  (oo)____
               (__)    )\
                  ||--|| *
    
    
    Trouble managing data? List, sort, group, tag and search your pentest data
    in Metasploit Pro -- learn more on http://rapid7.com/metasploit
    
           =[ metasploit v4.11.1-2015042001 [core:4.11.1.pre.2015042001 api:1.0.0]]
    + -- --=[ 1445 exploits - 820 auxiliary - 229 post        ]
    + -- --=[ 370 payloads - 37 encoders - 8 nops             ]
    + -- --=[ Free Metasploit Pro trial: http://r-7.co/trymsp ]
    
    root@kali:~#proxychains msfconsole
    ProxyChains-3.1(http://proxychains.sf.net)
    [*]正在启动Metasploit框架控制台|
    #科赛++
    ____________
    
    ------------
    \   ,__,
    \(oo)____
    (__)    )\
    ||--|| *
    管理数据有问题吗?列出、排序、分组、标记和搜索您的pentest数据
    在Metasploit Pro中--了解有关http://rapid7.com/metasploit
    =[metasploit v4.11.1-2015042001[核心:4.11.1.2015042001之前api:1.0.0]]
    +-->=[1445次利用漏洞-820次辅助-229次发布]
    +-->=[370个有效载荷-37个编码器-8个NOP]
    +-->=[免费Metasploit Pro试用版:http://r-7.co/trymsp ]