Replace NoTarget with NotVulnerable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user