mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
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:
parent
fcc16b2346
commit
fee52bce3e
|
@ -42,9 +42,14 @@ 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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user