s/print_warning/print_error.

bug/bundler_fix
forzoni 2016-06-28 10:26:23 -05:00
parent 0635fee820
commit 5f044ffda0
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class MetasploitModule < Msf::Exploit::Local
def check
if cmd_exec("sh -c 'docker ps; echo $?'").strip =~ /1$/
print_warning("Failed to access Docker daemon.")
print_error("Failed to access Docker daemon.")
Exploit::CheckCode::Safe
else
Exploit::CheckCode::Vulnerable