diff --git a/modules/auxiliary/scanner/telnet/lantronix_telnet_version.rb b/modules/auxiliary/scanner/telnet/lantronix_telnet_version.rb index 2ad1710b63..9481b53989 100644 --- a/modules/auxiliary/scanner/telnet/lantronix_telnet_version.rb +++ b/modules/auxiliary/scanner/telnet/lantronix_telnet_version.rb @@ -44,9 +44,9 @@ class Metasploit3 < Msf::Auxiliary ::Timeout.timeout(to) do res = connect if banner.start_with? "MAC address" - print_status("#{ip}:#{rport} TELNET: \n #{banner}") + print_status("#{ip}:#{rport} TELNET: #{banner}") version = banner.match(/Software version [\w\.]+ \(\d+\) \w*$/)[0] - report_service(:host => rhost, :port => rport, :name => "telnet", :info => version ) + report_service(:host => rhost, :port => rport, :name => "telnet", :info => "Lantronix Version: #{version}" ) end end rescue ::Rex::ConnectionError