# This is the htaccessMethods demo


plugins
output console,textFile
output config textFile
set fileName output-w3af.txt
set verbose True
back
output config console
set verbose False
back

audit htaccessMethods
grep httpAuthDetect
back

target
set target http://moth/w3af/bruteforce/basicAuthBrute/impossible_guess/
back

start

assert len( kb.kb.getData('httpAuthDetect', 'auth') ) == 1
assert len( kb.kb.getData('htaccessMethods', 'auth') ) == 0

exit
