fix for meterp hang

git-svn-id: file:///home/svn/incoming/trunk@3090 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Matt Miller 2005-11-24 20:46:38 +00:00
parent 32c471498a
commit ca149ac9fa
1 changed files with 2 additions and 0 deletions

View File

@ -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