File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
modules/auxiliary/scanner/lotus Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def initialize
28
28
29
29
def run_host ( ip )
30
30
31
- path = normalize_uri ( datastore [ 'PATH' ] )
31
+ path = datastore [ 'PATH' ]
32
32
check1 = [
33
33
'iNotes/Forms5.nsf' ,
34
34
'iNotes/Forms6.nsf' ,
@@ -53,8 +53,8 @@ def run_host(ip)
53
53
check1 . each do | check |
54
54
55
55
res = send_request_raw ( {
56
- 'uri' => path + check ,
57
- 'method' => 'GET' ,
56
+ 'uri' => normalize_uri ( path , check ) ,
57
+ 'method' => 'GET'
58
58
} , 10 )
59
59
60
60
if ( res . nil? )
@@ -101,8 +101,8 @@ def run_host(ip)
101
101
check2 . each do | check |
102
102
103
103
res = send_request_raw ( {
104
- 'uri' => path + check ,
105
- 'method' => 'GET' ,
104
+ 'uri' => normalize_uri ( path , check ) ,
105
+ 'method' => 'GET'
106
106
} , 10 )
107
107
108
108
if ( res . nil? )
@@ -137,8 +137,8 @@ def run_host(ip)
137
137
check3 . each do | check |
138
138
139
139
res = send_request_raw ( {
140
- 'uri' => path + check ,
141
- 'method' => 'GET' ,
140
+ 'uri' => normalize_uri ( path , check ) ,
141
+ 'method' => 'GET'
142
142
} , 10 )
143
143
144
144
if ( res . nil? )
You can’t perform that action at this time.
0 commit comments