HTTP traversal shouldnt upcase METHOD (@wchen-r7)

If the user wants to use downcased or mixed case HTTP methods, heck,
more power to them. If it doesn't work, it doesn't work. No other HTTP
module makes this call.
bug/bundler_fix
Tod Beardsley 2014-05-23 15:32:04 -05:00
parent 7f59cf5035
commit f7bfab5a26
No known key found for this signature in database
GPG Key ID: 1EFFB682ADB9F193
1 changed files with 0 additions and 3 deletions

View File

@ -336,9 +336,6 @@ class Metasploit3 < Msf::Auxiliary
datastore['PATH'] = '/' + datastore['PATH']
end
# Some webservers (ie. Apache) might not like the HTTP method to be lower-case
datastore['METHOD'] = datastore['METHOD'].upcase
print_status("Running action: #{action.name}...")
# And it's..... "SHOW TIME!!"