We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed1ed5d commit 9db951cCopy full SHA for 9db951c
lib/metasploit/framework/login_scanner/http.rb
@@ -96,6 +96,8 @@ def set_sane_defaults
96
self.connection_timeout ||= 20
97
self.max_send_size = 0 if self.max_send_size.nil?
98
self.send_delay = 0 if self.send_delay.nil?
99
+ self.uri = '/' if self.uri.blank?
100
+ self.method = 'GET' if self.method.blank?
101
102
# Note that this doesn't cover the case where ssl is unset and
103
# port is something other than a default. In that situtation,
0 commit comments