Use sqlmap with tor proxy

By | April 23, 2013

When trying to exploit some website using sqlmap, its a good idea to be anonymous. Sqlmap has excellent support for using common proxies or tor.

First start tor and ensure that it is running the socks5 daemon on port 9050. Then use the socks5 proxy with sqlmap as follows

# ./ --tor --tor-type=SOCKS5 -u ""

The above command uses tor with type SOCKS5. The --tor option by default tries to use the HTTP proxy instead of SOCKS5. Therefor its necessary to specify the tor-type to SOCKS5.

To further improve the anonymity of the scan, use some fake user agent. Here is a quick example.

# ./ --tor --tor-type=SOCKS5 -u "" --user-agent="Googlebot (compatible; Googlebot/2.1; +"

The above example uses a google bot kind of user agent in the http headers of the scan, further complicating the identity of the hacker.

That is pretty much of it. Enjoy hacking!!

About Silver Moon

A Tech Enthusiast, Blogger, Linux Fan and a Software Developer. Writes about Computer hardware, Linux and Open Source software and coding in Python, Php and Javascript. He can be reached at [email protected].


Use sqlmap with tor proxy

Leave a Reply

Your email address will not be published. Required fields are marked *