From e78174297eb116c1d59f2492d9361f059a9e99a8 Mon Sep 17 00:00:00 2001 From: jvazquez-r7 Date: Wed, 23 Jan 2013 12:44:55 +0100 Subject: [PATCH] assuring stdapi loads on meterpreter --- modules/exploits/multi/http/sonicwall_gms_upload.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/exploits/multi/http/sonicwall_gms_upload.rb b/modules/exploits/multi/http/sonicwall_gms_upload.rb index 5e710b117d..f786338546 100644 --- a/modules/exploits/multi/http/sonicwall_gms_upload.rb +++ b/modules/exploits/multi/http/sonicwall_gms_upload.rb @@ -69,6 +69,12 @@ class Metasploit3 < Msf::Exploit::Remote ], self.class) end + + def on_new_session + + end + + def generate_jsp var_hexpath = Rex::Text.rand_text_alpha(rand(8)+8) var_exepath = Rex::Text.rand_text_alpha(rand(8)+8)