get_uri missing port fix
parent
b0bf901b22
commit
776dd57803
|
@ -425,7 +425,7 @@ module Exploit::Remote::HttpServer
|
|||
host = "[#{host}]"
|
||||
end
|
||||
|
||||
if datastore['URIPORT'] != 0
|
||||
if datastore['URIPORT'] && datastore['URIPORT'] != 0
|
||||
port = ':' + datastore['URIPORT'].to_s
|
||||
elsif (ssl and datastore["SRVPORT"] == 443)
|
||||
port = ''
|
||||
|
|
Loading…
Reference in New Issue