Skip to content

Commit e1d1ff1

Browse files
committed
Change failure code
1 parent 169052a commit e1d1ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/http/vap2500_tools_command_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def exploit
6969
print_status("#{peer} - Trying to access the device ...")
7070

7171
unless check == Exploit::CheckCode::Vulnerable
72-
fail_with(Failure::Unknown, "#{peer} - Failed to access the vulnerable device")
72+
fail_with(Failure::NotVulnerable, "#{peer} - Failed to access the vulnerable device")
7373
end
7474

7575
print_status("#{peer} - Exploiting...")

0 commit comments

Comments
 (0)