unstable
HD Moore 2012-04-21 14:51:20 -05:00
parent 37e75dc644
commit 1d2581ebf4
1 changed files with 2 additions and 2 deletions

View File

@ -44,9 +44,9 @@ class Metasploit3 < Msf::Auxiliary
::Timeout.timeout(to) do ::Timeout.timeout(to) do
res = connect res = connect
if banner.start_with? "MAC address" 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] 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
end end
rescue ::Rex::ConnectionError rescue ::Rex::ConnectionError