我的kali linux和代理链有问题:它输出以下错误。它似乎无法找到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
答案 0 :(得分:5)
如果出现同样的问题,proxyresolv
的符号链接似乎已被破坏。巧合?我想不是。与最新升级有关。
修正:
ln -s /usr/lib/proxychains3/proxyresolv /usr/bin/
答案 1 :(得分:1)
我在
上遇到了同样的问题 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/
在proxy_dns
中注释掉/etc/proxychains.conf
行:
# Proxy DNS requests - no leak for DNS data
#proxy_dns
我还没有找到正确的方法来启用proxy_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 ]