Replace NoTarget with NotVulnerable

This commit is contained in:
Brendan Coles
2017-05-08 22:29:44 +00:00
parent 283a40a279
commit 32dafb06af
@@ -95,7 +95,7 @@ class MetasploitModule < Msf::Exploit::Remote
end
def exploit
fail_with(Failure::NoTarget, 'Target is not vulnerable') unless check == CheckCode::Appears
fail_with(Failure::NotVulnerable, 'Target is not vulnerable') unless check == CheckCode::Appears
execute_cmdstager(:temp => '.', :linemax => 8000)
end
end