# grep demo

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

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

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

start

assert len( kb.kb.getData( 'hashFind', 'hashFind' ) ) == 2 

exit
