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 905f483 commit 59f7570Copy full SHA for 59f7570
modules/exploits/multi/http/cve_2014_9390.rb
@@ -237,8 +237,14 @@ def exploit
237
238
def primer
239
# add the git and mercurial URIs as necessary
240
- hardcoded_uripath(git_uri) if datastore['GIT']
241
- hardcoded_uripath(mercurial_uri) if datastore['MERCURIAL']
+ if datastore['GIT']
+ hardcoded_uripath(git_uri)
242
+ print_status("Malicious Git URI is #{URI.parse(get_uri).merge(git_uri)}")
243
+ end
244
+ if datastore['MERCURIAL']
245
+ hardcoded_uripath(mercurial_uri)
246
+ print_status("Malicious Mercurial URI is #{URI.parse(get_uri).merge(mercurial_uri)}")
247
248
end
249
250
def on_request_uri(cli, req)
0 commit comments