ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Cracking Tutorials

SQLAMP Tor Guide | Increase Your Anonymity | Kali Linux

Submitted by Tanara at 03-11-2021, 10:05 AM


SQLAMP Tor Guide | Increase Your Anonymity | Kali Linux
2.333 Views
Tanara's Avatar'
Tanara
Offline
#1
Leave a like if you learned something :)

[ Hidden Content! ]

Installation of TOR in Kali Linux

Tor is very easy to install in Kali Linux, you just need to type the following command to install:
 
Code:
apt-get install tor

Spoiler:
In case, if it shows some kind of error regarding “Unable to locate package” then do run “sudo apt-get update” command before installation of TOR and then try the same with above command.

To start the Tor, simply type “tor” in same terminal which takes approx 1-2 minutes to start and don’t close this terminal:
Spoiler:
When trying to exploit any website using sqlmap, its always a good idea to be anonymous.
Sqlmap has excellent support for using common proxies or tor.
Ensure that your tor is running the socks5 daemon on port 9050. Then use the socks5 proxy with sqlmap as shown in following command:

 
Code:
sqlmap -u <vulnerable website> –tor –tor-type=SOCKS5
Spoiler:
Here, –tor option by default tries to use HTTP Proxy instead of SOCKS5, therefore it is necessary to mention the proxy type which is SOCKS5 in this case along with port number 9050 by adding –tor-port=9050 –check-tor  (optional).
To further improve, you can also add fake User-Agent of Google Bot as shown below:

 
Code:
sqlmap -u <Vulnerable Website> –tor –tor-type=SOCKS5 –user-agent=”Googlebot (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”
Spoiler:
By executing above command, you are going to look like a Google Bot and your IP would be that of some TOR Exit node.
Furthermore, if you want to use some tools like Nmap, or Metasploit then you need to install one more tool i.e. Proxychains which you can easily install by typing the following command:

 
Code:
apt-get install proxychains
Spoiler:
Now run the following command to add the proxy IP along with Port in proxychains.conf file:
 
Code:
echo socks5 127.0.0.1 9050 >> /etc/proxychains.conf
Spoiler:
Suppose, you want to run nmap against some IP, then type:
 
Code:
proxychains nmap -n 8.8.8.8
Spoiler:
You can also run Metasploit over Tor by setting below option:
 
Code:
set Proxies socks5:127.0.0.1:9050
Spoiler:
0
Reply


Messages In This Thread
SQLAMP Tor Guide | Increase Your Anonymity | Kali Linux - by Tanara - 03-11-2021, 10:05 AM


Users browsing this thread: 3 Guest(s)