Land #10319, enable VHOST for ms15_034_http_sys_memory_dump

4.x
Brent Cook 2018-07-25 18:51:57 -05:00 committed by Metasploit
parent 8e5639a081
commit 5171e7edd2
No known key found for this signature in database
GPG Key ID: CDFB5FA52007B954
1 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,9 @@ class MetasploitModule < Msf::Auxiliary
'Author' =>
[
'Rich Whitcroft <rwhitcroft[at]gmail.com>', # Msf module
'sinn3r' # Some more Metasploit stuff
'sinn3r', # Some more Metasploit stuff
'Sunny Neo <sunny.neo[at]centurioninfosec.sg>' #Added VHOST option
],
'License' => MSF_LICENSE,
'References' =>
@ -43,7 +45,6 @@ class MetasploitModule < Msf::Auxiliary
OptBool.new('SUPPRESS_REQUEST', [ true, 'Suppress output of the requested resource', true ])
])
deregister_options('VHOST')
end
def potential_static_files_uris
@ -186,6 +187,7 @@ class MetasploitModule < Msf::Auxiliary
req = cli.request_raw(
'uri' => target_uri.path,
'method' => 'GET',
'vhost' => "#{datastore['VHOST']}",
'headers' => {
'Range' => ranges
}