Minor improvements to sqlmap msf3 auxiliary modules based on Efrain Torres' commit on msf3 trunk, http://metasploit.com/dev/trac/changeset/5787

This commit is contained in:
Bernardo Damele 2008-10-25 19:43:13 +00:00
parent fcc16b2346
commit fee52bce3e

View File

@ -42,10 +42,15 @@ class Metasploit3 < Msf::Auxiliary
OptString.new('BODY', [ false, "The data string to be sent through POST", '' ]), OptString.new('BODY', [ false, "The data string to be sent through POST", '' ]),
OptString.new('OPTS', [ false, "The sqlmap options to use", ' ' ]), OptString.new('OPTS', [ false, "The sqlmap options to use", ' ' ]),
OptPath.new('SQLMAP_PATH', [ true, "The sqlmap >= 0.6.1 full path ", '/sqlmap/sqlmap.py' ]), OptPath.new('SQLMAP_PATH', [ true, "The sqlmap >= 0.6.1 full path ", '/sqlmap/sqlmap.py' ]),
OptBool.new('BATCH', [ true, "Never ask for user input, use the default behaviour", 'true' ]) OptBool.new('BATCH', [ true, "Never ask for user input, use the default behaviour", true ])
], self.class) ], self.class)
end end
# Modify to true if you have sqlmap installed.
def wmap_enabled
false
end
# Test a single host # Test a single host
def run_host(ip) def run_host(ip)