diff --git a/lib/msf/ui/console/command_dispatcher/creds.rb b/lib/msf/ui/console/command_dispatcher/creds.rb index b998cfdcdac9..7e302a60e4f9 100644 --- a/lib/msf/ui/console/command_dispatcher/creds.rb +++ b/lib/msf/ui/console/command_dispatcher/creds.rb @@ -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