Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fee52bc

Browse files
committed
Minor improvements to sqlmap msf3 auxiliary modules based on Efrain Torres' commit on msf3 trunk, http://metasploit.com/dev/trac/changeset/5787
1 parent fcc16b2 commit fee52bc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

extra/msfauxmod/wmap_sqlmap.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,14 @@ def initialize(info = {})
4242
OptString.new('BODY', [ false, "The data string to be sent through POST", '' ]),
4343
OptString.new('OPTS', [ false, "The sqlmap options to use", ' ' ]),
4444
OptPath.new('SQLMAP_PATH', [ true, "The sqlmap >= 0.6.1 full path ", '/sqlmap/sqlmap.py' ]),
45-
OptBool.new('BATCH', [ true, "Never ask for user input, use the default behaviour", 'true' ])
45+
OptBool.new('BATCH', [ true, "Never ask for user input, use the default behaviour", true ])
4646
], self.class)
4747
end
48+
49+
# Modify to true if you have sqlmap installed.
50+
def wmap_enabled
51+
false
52+
end
4853

4954
# Test a single host
5055
def run_host(ip)

0 commit comments

Comments
 (0)