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