Skip to content

Commit ad4ee3c

Browse files
committed
Merge branch 'master' of rapid7.github.com:/rapid7/metasploit-framework
2 parents 1fd8fe5 + ac4b2be commit ad4ee3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/exploit/http/server.rb

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

479-
if datastore['URIPORT']
479+
if datastore['URIPORT'] != 0
480480
port = ':' + datastore['URIPORT'].to_s
481481
elsif (ssl and datastore["SRVPORT"] == 443)
482482
port = ''

0 commit comments

Comments
 (0)