# grep demo for strangeHttpCode

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

discovery webSpider
discovery config webSpider
set onlyForward True
back
grep strangeHTTPCode
back

target
set target http://moth/w3af/grep/strange_http_code/
back

start

assert len(kb.kb.getData( 'strangeHTTPCode', 'strangeHTTPCode' )) == 1

exit

