From 4216d06ffb1071aef9b4bd83b8e3df35a0845e85 Mon Sep 17 00:00:00 2001 From: Tim W Date: Sat, 5 May 2018 16:30:19 +0800 Subject: [PATCH] fix #9963, update x64 linux reverse_tcp stager cached size --- lib/msf/core/payload/linux/x64/reverse_tcp.rb | 2 -- modules/payloads/stagers/linux/x64/reverse_tcp.rb | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/msf/core/payload/linux/x64/reverse_tcp.rb b/lib/msf/core/payload/linux/x64/reverse_tcp.rb index a652d007a3..b678107067 100644 --- a/lib/msf/core/payload/linux/x64/reverse_tcp.rb +++ b/lib/msf/core/payload/linux/x64/reverse_tcp.rb @@ -109,8 +109,6 @@ module Payload::Linux::ReverseTcp_x64 pop r9 push rsi push rax - - create_socket: push 0x29 pop rax cdq diff --git a/modules/payloads/stagers/linux/x64/reverse_tcp.rb b/modules/payloads/stagers/linux/x64/reverse_tcp.rb index 90ad6c05d6..241dc65fe8 100644 --- a/modules/payloads/stagers/linux/x64/reverse_tcp.rb +++ b/modules/payloads/stagers/linux/x64/reverse_tcp.rb @@ -8,7 +8,7 @@ require 'msf/core/payload/linux/x64/reverse_tcp' module MetasploitModule - CachedSize = 127 + CachedSize = 129 include Msf::Payload::Stager include Msf::Payload::Linux::ReverseTcp_x64