From 6e2e7ed55e8c53edcde8513b1e8735be24cd0e28 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Wed, 24 Feb 2010 21:32:56 +0000 Subject: [PATCH] Pass the cached input/output into the real payload git-svn-id: file:///home/svn/framework3/trunk@8625 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/core/payload/generic.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/msf/core/payload/generic.rb b/lib/msf/core/payload/generic.rb index dba045b824..378e6ec8bb 100644 --- a/lib/msf/core/payload/generic.rb +++ b/lib/msf/core/payload/generic.rb @@ -266,8 +266,13 @@ protected # things like session creation (so that event notifications will # work properly) self.actual_payload.parent_payload = self + + # Set the cached user_input/user_output + self.actual_payload.user_input = self.user_input + self.actual_payload.user_output = self.user_output end + end