s/print_warning/print_error.
parent
0635fee820
commit
5f044ffda0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue