diff --git a/modules/auxiliary/gather/ie_uxss_injection.rb b/modules/auxiliary/gather/ie_uxss_injection.rb index 2cb0acf9c3..bee9d14c9e 100644 --- a/modules/auxiliary/gather/ie_uxss_injection.rb +++ b/modules/auxiliary/gather/ie_uxss_injection.rb @@ -81,7 +81,7 @@ class MetasploitModule < Msf::Auxiliary host = "[#{host}]" end - if datastore['URIPORT'] != 0 + if datastore['URIPORT'] port = ':' + datastore['URIPORT'].to_s elsif (ssl and datastore["SRVPORT"] == 443) port = ''