# This script shows how oracleDiscovery works

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 oracle
back

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

start

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

exit
