diff --git a/modules/exploits/linux/http/docker_daemon_tcp.rb b/modules/exploits/linux/http/docker_daemon_tcp.rb index 0d3a046e59..c733b2440c 100644 --- a/modules/exploits/linux/http/docker_daemon_tcp.rb +++ b/modules/exploits/linux/http/docker_daemon_tcp.rb @@ -144,7 +144,7 @@ class MetasploitModule < Msf::Exploit::Remote def exploit # check if target is vulnerable - unless check == Exploit::CheckCode::Appears + unless check == Exploit::CheckCode::Vulnerable fail_with(Failure::Unknown, 'Failed to connect to the target') end