Cosmetic
parent
37e75dc644
commit
1d2581ebf4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue