Skip to content

Commit 6a35b36

Browse files
David MaloneyDavid Maloney
authored andcommitted
Land rapid7#7577, URPORT fix
2 parents 643a551 + 22d70dd commit 6a35b36

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)