Skip to content

Commit 5f044ff

Browse files
author
forzoni
committed
s/print_warning/print_error.
1 parent 0635fee commit 5f044ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/local/docker_daemon_privilege_escalation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def initialize(info={})
3636

3737
def check
3838
if cmd_exec("sh -c 'docker ps; echo $?'").strip =~ /1$/
39-
print_warning("Failed to access Docker daemon.")
39+
print_error("Failed to access Docker daemon.")
4040
Exploit::CheckCode::Safe
4141
else
4242
Exploit::CheckCode::Vulnerable

0 commit comments

Comments
 (0)