Land #10319, enable VHOST for ms15_034_http_sys_memory_dump

This commit is contained in:
Brent Cook 2018-07-25 18:51:57 -05:00
commit c1418955f5
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
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
}