Skip to content

Commit 19a6ae6

Browse files
committed
Update bind_tcp sizes to dynamic
This is required due to the fact that we can now turn on/off the closing of the listen socket.
1 parent c8bab6a commit 19a6ae6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

modules/payloads/stagers/linux/x86/bind_tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
module Metasploit4
1212

13-
CachedSize = 79
13+
CachedSize = :dynamic
1414

1515
include Msf::Payload::Stager
1616
include Msf::Payload::Linux::BindTcp

modules/payloads/stagers/windows/bind_tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
module Metasploit4
1212

13-
CachedSize = 285
13+
CachedSize = :dynamic
1414

1515
include Msf::Payload::Stager
1616
include Msf::Payload::Windows::BindTcp

modules/payloads/stagers/windows/x64/bind_tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
module Metasploit4
1212

13-
CachedSize = 467
13+
CachedSize = :dynamic
1414

1515
include Msf::Payload::Stager
1616
include Msf::Payload::Windows::BindTcp_x64

modules/payloads/stagers/windows/x64/reverse_tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
module Metasploit4
1212

13-
CachedSize = 422
13+
CachedSize = :dynamic
1414

1515
include Msf::Payload::Stager
1616
include Msf::Payload::Windows::ReverseTcp_x64

0 commit comments

Comments
 (0)