Skip to content

Commit 22d70dd

Browse files
committed
Fix rapid7#7455, handle the URIPORT option properly in is_uxss_injection
Fix rapid7#7455
1 parent abddeb5 commit 22d70dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/gather/ie_uxss_injection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def get_uri(cli=self.cli)
8181
host = "[#{host}]"
8282
end
8383

84-
if datastore['URIPORT'] != 0
84+
if datastore['URIPORT']
8585
port = ':' + datastore['URIPORT'].to_s
8686
elsif (ssl and datastore["SRVPORT"] == 443)
8787
port = ''

0 commit comments

Comments
 (0)