Skip to content

Commit 76ba770

Browse files
author
Chris John Riley
committed
fixed target_uri.path vs target_uri.to_s issue
1 parent 0dd4f4d commit 76ba770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/apache_activemq_source_disclosure.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def initialize(info = {})
4747
def run_host(ip)
4848

4949
print_status("#{rhost}:#{rport} - Sending request...")
50-
uri = normalize_uri(target_uri.path)
50+
uri = normalize_uri(target_uri.to_s)
5151
res = send_request_cgi({
5252
'uri' => uri,
5353
'method' => 'GET',

0 commit comments

Comments
 (0)