« SQLBrute 1.0 released | Main | Running Nessus 3 on Windows XP »


Using proxy servers with SQLBrute

Daniel Cuthbert commented about adding proxy server support to SQLBrute. Well, a nice (and perhaps a little obscure) feature of urllib2 (which SQLBrute uses to send HTTP requests) is that you get HTTP proxy support out of the box. All you need to do is set your environment to point to the server, either by setting the http_proxy environment variable to point to your proxy, or (on Windows) by setting Internet Explorer to point to your proxy.

If setting the environment variable, on the Windows command line you can do this:

set http_proxy=myproxy:8080

Which should point it to your proxy. The same works for Unix/Linux with whatever export or set command is relevant for your shell.

The proxy support in urllib2 doesn't support authentication so if you have a proxy with authentication you might want to chain SQLBrute through your favourite local proxy (i.e. Burp, Paros etc) and have that handle the authentication for you. Enjoy!

Found this useful? Then Digg It.


Comments (1)

nice one sir!

Beers on me in September :)

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

All spam will be reported

About

This page contains a single entry from the blog posted on July 31, 2007 7:21 PM.

The previous post in this blog was SQLBrute 1.0 released.

The next post in this blog is Running Nessus 3 on Windows XP.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.36

Valid XHTML 1.0!