Skip to content

Commit

Permalink
Fix copy pasta error
Browse files Browse the repository at this point in the history
  • Loading branch information
jheysel-r7 committed Aug 31, 2023
1 parent 5c12a3e commit e5f2ebf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/payloads/singles/cmd/unix/reverse_socat_tcp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
##

module MetasploitModule
CachedSize = 88
CachedSize = 87

include Msf::Payload::Single
include Msf::Sessions::CommandShellOptions
Expand Down
6 changes: 3 additions & 3 deletions spec/modules/payloads_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -750,14 +750,14 @@
reference_name: 'cmd/unix/bind_socat_udp'
end

context 'cmd/unix/bind_socat_tcp' do
context 'cmd/unix/reverse_socat_tcp' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
'singles/cmd/unix/bind_socat_tcp'
'singles/cmd/unix/reverse_socat_tcp'
],
dynamic_size: false,
modules_pathname: modules_pathname,
reference_name: 'cmd/unix/bind_socat_tcp'
reference_name: 'cmd/unix/reverse_socat_tcp'
end

context 'cmd/unix/bind_perl' do
Expand Down

0 comments on commit e5f2ebf

Please sign in to comment.