little auto detect fix
parent
6a765ae3b0
commit
781149f13f
|
@ -100,13 +100,17 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
break
|
||||
end
|
||||
end
|
||||
|
||||
else
|
||||
# no supported device found
|
||||
return Exploit::CheckCode::Unknown
|
||||
end
|
||||
|
||||
print_status("#{peer} - Selected Target: #{@mytarget.name}")
|
||||
print_good("#{peer} - detected a vulnerable device")
|
||||
return Exploit::CheckCode::Detected
|
||||
|
||||
# no auto-targetting ... the user is responsible
|
||||
# not auto-targetting ... the user is responsible
|
||||
else
|
||||
print_good("#{peer} - detected a device with unknown exploitability ... trying to exploit")
|
||||
return Exploit::CheckCode::Detected
|
||||
|
|
Loading…
Reference in New Issue