# This is a simple xss detection demo: plugins output console,textFile output config textFile set fileName output-w3af.txt set verbose True back output config console set verbose False back audit xss discovery webSpider discovery config webSpider set onlyForward True back back target set target http://localhost/w3af/audit/xss/ back start assert len( kb.kb.getData('xss', 'xss') ) == 9 exit