Land #4181 - Fix nil URIPORT in get_uri (HttpServer)
commit
ac4b2bee4d
|
@ -476,7 +476,7 @@ module Exploit::Remote::HttpServer
|
|||
host = "[#{host}]"
|
||||
end
|
||||
|
||||
if datastore['URIPORT']
|
||||
if datastore['URIPORT'] != 0
|
||||
port = ':' + datastore['URIPORT'].to_s
|
||||
elsif (ssl and datastore["SRVPORT"] == 443)
|
||||
port = ''
|
||||
|
|
Loading…
Reference in New Issue