Skip to content

Commit eea7266

Browse files
committed
warn on method failure instead of error
1 parent 9f12b79 commit eea7266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/misc/drb_remote_codeexec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class << p
117117
handler(nil)
118118
break
119119
rescue SecurityError => e
120-
print_error("target is not vulnerable to #{method}")
120+
print_warning("target is not vulnerable to #{method}")
121121
end
122122
end
123123

0 commit comments

Comments
 (0)