Fix #7455, handle the URIPORT option properly in is_uxss_injection

Fix #7455
bug/bundler_fix
wchen-r7 2016-11-17 15:50:35 -06:00
parent abddeb5cd2
commit 22d70ddd09
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class MetasploitModule < Msf::Auxiliary
host = "[#{host}]" host = "[#{host}]"
end end
if datastore['URIPORT'] != 0 if datastore['URIPORT']
port = ':' + datastore['URIPORT'].to_s port = ':' + datastore['URIPORT'].to_s
elsif (ssl and datastore["SRVPORT"] == 443) elsif (ssl and datastore["SRVPORT"] == 443)
port = '' port = ''