From ca149ac9faa466abe8f68799be7e1097ba90fe28 Mon Sep 17 00:00:00 2001 From: Matt Miller Date: Thu, 24 Nov 2005 20:46:38 +0000 Subject: [PATCH] fix for meterp hang git-svn-id: file:///home/svn/incoming/trunk@3090 4d416f70-5f16-0410-b530-b9f4589650da --- modules/payloads/stages/windows/meterpreter.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/payloads/stages/windows/meterpreter.rb b/modules/payloads/stages/windows/meterpreter.rb index 458a71cb42..afc9228f6f 100644 --- a/modules/payloads/stages/windows/meterpreter.rb +++ b/modules/payloads/stages/windows/meterpreter.rb @@ -64,6 +64,8 @@ module Meterpreter # advanced option is set to true. # def on_session(session) + super + session.queue_cmd('use stdapi') if (datastore['AutoLoadStdapi'] == true) end