# detect phishing using the phishtank API

plugins
output console, textFile
output config textFile
set fileName output-w3af.txt
set verbose True
back
output config console
set verbose False
back

discovery phishtank

back
target
# not in phishtank
#set target http://moth/w3af/detectPhishing/

# in phishtank
set target http://www.facebook.dealersindubai.com/fb.asp 
back

start

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

exit
