Proxychains cannot find file on kali linux

I have a problem with my kali linux and proxychains: it outputs the following error. It can't seem to find the referenced pointer for exec or exec has the wrong information.

I checked the resolv.conf file, everything seems to be fine and the proxychains.conf file is working fine. I've tried multiple DNS servers but same errors.

Anyone have any solution? Output from the command line:

 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

      

+3


source to share


2 answers


Had the same problem, the symbolic link for proxyresolv

appears to have been destroyed. Coincidence? I think no. Something with the latest update.

Fix:



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

+5


source


I had the same problem on

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?

      

This is how I managed to get it up and running:



  • First make sure this symlink is present:

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

  • Comment out the line proxy_dns

    in /etc/proxychains.conf

    :

    # Proxy DNS requests - no leak for DNS data
    #proxy_dns
    
          

I have not figured out how to properly work with proxy_dns

.

Trying it again seems to work fine.

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 ]

      

+1


source







All Articles