Tuesday, October 27, 2026

How To Configure Tor and Privoxy Using Proxy Chains In Kali Linux

Follows these steps to use Tor as a proxy in order to use the tools in Kali anonymously  (1.0.7).

#Install the key

gpg --keyserver keys.gnupg.net --recv 886DDD89

gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -

#Update the repositories

#Installing Tor and Privoxy

#Edit the file:

#Edit the lines 776 and 1292, as follows:

listen-address 127.0.0.1:8118

forward-socks5 / 127.0.0.1:9050.

#Restart the services

#Edit the file:

#Comment (#) line 38 and 64, as follows:

#proxy_dns

#socks4 127.0.0.1 9050

#And insert the end of the file:

socks5 127.0.0.1 9050

Using

In the browser (Iceweasel), go to:
Preferences >> Network >> Settings >> Set Manual proxy: 127.0.0.1:8118, and  enable all protocols.

#To test the navigation, go to:

https://check.torproject.org/?lang=pt_BR

#To use the tools, always use the proxychains forward commands.

examples:

proxychains nmap -sV <www.localhost.com>

proxychains nikto -host <www.localhost.com>

proxychains msfconsole

No comments:

Post a Comment

Please be gentle and nice.