# This is a test case for setting a port in the URL

plugins
audit sqli
discovery hmap

output console, textFile

output config console
set verbose False
back

output config textFile
set verbose True
back

back

target
set target http://moth/w3af/audit/sql_injection/select/sql_injection_table.php?table=users
back

start

assert len( kb.kb.getData('sqli', 'sqli') ) == 1
assert 'Apache' in kb.kb.getData( 'hmap','serverString')

exit
