# This script is a test for the htmlFile output plugin
plugins
output console, htmlFile
output config htmlFile
set fileName output-w3af.html
set verbose True
back
output config console
back
discovery webSpider
discovery config webSpider
set onlyForward True
back
audit xss
back
target
set target http://localhost/w3af/audit/xss/
back
start
assert len(kb.kb.getData('xss','xss')) >= 9
exit