Skip to content

Commit ceb0f56

Browse files
author
jvazquez-r7
committed
Land rapid7#2258, @wchen-r7's patch for [SeeRM rapid7#8318]
2 parents 3ac59fe + 246c2d8 commit ceb0f56

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

modules/auxiliary/scanner/lotus/lotus_domino_version.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def initialize
2828

2929
def run_host(ip)
3030

31-
path = normalize_uri(datastore['PATH'])
31+
path = datastore['PATH']
3232
check1 = [
3333
'iNotes/Forms5.nsf',
3434
'iNotes/Forms6.nsf',
@@ -53,8 +53,8 @@ def run_host(ip)
5353
check1.each do | check |
5454

5555
res = send_request_raw({
56-
'uri' => path+check,
57-
'method' => 'GET',
56+
'uri' => normalize_uri(path, check),
57+
'method' => 'GET'
5858
}, 10)
5959

6060
if (res.nil?)
@@ -101,8 +101,8 @@ def run_host(ip)
101101
check2.each do | check |
102102

103103
res = send_request_raw({
104-
'uri' => path+check,
105-
'method' => 'GET',
104+
'uri' => normalize_uri(path, check),
105+
'method' => 'GET'
106106
}, 10)
107107

108108
if (res.nil?)
@@ -137,8 +137,8 @@ def run_host(ip)
137137
check3.each do | check |
138138

139139
res = send_request_raw({
140-
'uri' => path+check,
141-
'method' => 'GET',
140+
'uri' => normalize_uri(path, check),
141+
'method' => 'GET'
142142
}, 10)
143143

144144
if (res.nil?)

0 commit comments

Comments
 (0)