Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

I've been messing around with DVWA (Damn vulnerable web application) and w3af. I've been scanning DVWA with w3af, and have used the spiderMan proxy and http config to setup auth credentials to get past the login screen of DVWA, but w3af still doesn't seem to be finding any sql injection anywhere (which is guaranteed).

I've seen a few vague tutorials online showing it to be trivial, but even when tweaking my setup in a few ways I still have yet to see it detect SQLi.

Anyone have an suggestions or ideas as to why this may be an issue?

Thanks in advance!

share|improve this question
add comment

2 Answers

w3af is an awful vulnerability scanner and in general a very primitive attack platform. I tried porting one of my WAF bypasses and I was unable to because it isn't designed very well.

You will have better results with Wapiti or Skipfish. For automated exploitation sqlmap is the tool to use. Sqlmap is a fantastic tool. It has much better WAF bypass support than w3af and supports a wider verity of databases. sqlmap is the tool that I use for leveraging flaws in a pentest.

If you want to test real applications that are very insecure you would download the Vulnerable_blog and Vulnerable_shop found here.

share|improve this answer
    
I'm mainly just trying to use w3af to point out places to look deeper, at which point I have been using sqlmap for instance. I haven't yet checked out Wapiti or Skipfish yet though, so I will take a look. In terms of a general scanner to just survey and report possibly weaknesses what's your best recommendation? (something that can get past a login screen with provided credentials is pretty key in my situation). Thanks for the reply! –  csjohn Feb 24 '12 at 16:36
    
@csjohn Well in terms of free and open source scanners wapiti and skipfish are the best, and they both have their own strengths and weaknesses. But by far my favorite scanner is the one I built: sitewat.ch –  Rook Feb 24 '12 at 16:39
    
@csjhon check out Arachni (arachni-scanner.com) , it's a decent vulnerability scanner written in ruby with a web interface. I use it with w3af (which is not that bad) and Skipfish. SQLmap is a SQL injection exploitation tool. It is not a web vulnerability scanner and it will only help you find and exploit SQL injection issues. –  lisa17 Apr 4 '12 at 20:16
    
@csjohn for more open source web scanning tools check out my answer here: security.stackexchange.com/a/13487/4508 –  lisa17 Apr 6 '12 at 14:28
add comment

You need to configure w3af not to spider the logout link.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.