Skip to content

Commit

Permalink
Update lib/msf/ui/console/command_dispatcher/creds.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
adfoster-r7 authored Mar 14, 2024
1 parent 2e35725 commit 86e90fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/msf/ui/console/command_dispatcher/creds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,7 @@ def service_from_origin(core)

def build_service_info(service)
if service.name.present?
info = "#{service.port}/
#{service.proto} (#{service.name})"
info = "#{service.port}/#{service.proto} (#{service.name})"
else
info = "#{service.port}/#{service.proto}"
end
Expand Down

0 comments on commit 86e90fd

Please sign in to comment.