Change failure code

bug/bundler_fix
jvazquez-r7 2015-01-21 20:38:33 -06:00
parent 169052af5c
commit e1d1ff17fd
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class Metasploit3 < Msf::Exploit::Remote
print_status("#{peer} - Trying to access the device ...") print_status("#{peer} - Trying to access the device ...")
unless check == Exploit::CheckCode::Vulnerable unless check == Exploit::CheckCode::Vulnerable
fail_with(Failure::Unknown, "#{peer} - Failed to access the vulnerable device") fail_with(Failure::NotVulnerable, "#{peer} - Failed to access the vulnerable device")
end end
print_status("#{peer} - Exploiting...") print_status("#{peer} - Exploiting...")