From e76f3ab22fc2f2aa9fbc1ba015cc5e4fa9cf4eff Mon Sep 17 00:00:00 2001 From: Quentin Kaiser Date: Mon, 29 Oct 2018 13:44:16 +0100 Subject: [PATCH] No debug. --- modules/exploits/multi/misc/consul_rexec_exec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/multi/misc/consul_rexec_exec.rb b/modules/exploits/multi/misc/consul_rexec_exec.rb index 1492699f10..630dd5461f 100644 --- a/modules/exploits/multi/misc/consul_rexec_exec.rb +++ b/modules/exploits/multi/misc/consul_rexec_exec.rb @@ -56,7 +56,7 @@ class MetasploitModule < Msf::Exploit::Remote if res and res.code == 200 begin agent_info = JSON.parse(res.body) - if agent_info["DebugConfig"]["DisableRemoteExec"] == false + if agent_info["Config"]["DisableRemoteExec"] == false return Exploit::CheckCode::Vulnerable else return Exploit::CheckCode::Safe