Skip to content

Commit 32dafb0

Browse files
committed
Replace NoTarget with NotVulnerable
1 parent 283a40a commit 32dafb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/http/serviio_checkstreamurl_cmd_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def execute_command(cmd, opts = {})
9595
end
9696

9797
def exploit
98-
fail_with(Failure::NoTarget, 'Target is not vulnerable') unless check == CheckCode::Appears
98+
fail_with(Failure::NotVulnerable, 'Target is not vulnerable') unless check == CheckCode::Appears
9999
execute_cmdstager(:temp => '.', :linemax => 8000)
100100
end
101101
end

0 commit comments

Comments
 (0)