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

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

target
set target http://moth/w3af/grep/find_comments/index.html
back

start

assert len(kb.kb.getData('findComments','interestingComments')) == 1
assert len(kb.kb.getData('findComments','htmlCommentsHideHtml')) == 1

exit
