diff --git a/extra/msfauxmod/wmap_sqlmap.rb b/extra/msfauxmod/wmap_sqlmap.rb index 091b45ef3..dc0050fd2 100644 --- a/extra/msfauxmod/wmap_sqlmap.rb +++ b/extra/msfauxmod/wmap_sqlmap.rb @@ -42,9 +42,14 @@ class Metasploit3 < Msf::Auxiliary OptString.new('BODY', [ false, "The data string to be sent through POST", '' ]), OptString.new('OPTS', [ false, "The sqlmap options to use", ' ' ]), 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) end + + # Modify to true if you have sqlmap installed. + def wmap_enabled + false + end # Test a single host def run_host(ip)