Skip to content

Commit f7bfab5

Browse files
author
Tod Beardsley
committed
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.
1 parent 7f59cf5 commit f7bfab5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

modules/auxiliary/scanner/http/http_traversal.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,6 @@ def run_host(ip)
336336
datastore['PATH'] = '/' + datastore['PATH']
337337
end
338338

339-
# Some webservers (ie. Apache) might not like the HTTP method to be lower-case
340-
datastore['METHOD'] = datastore['METHOD'].upcase
341-
342339
print_status("Running action: #{action.name}...")
343340

344341
# And it's..... "SHOW TIME!!"

0 commit comments

Comments
 (0)