File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed
modules/payloads/singles/windows/x64 Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 16
16
###
17
17
module Metasploit3
18
18
19
- CachedSize = 1695
19
+ CachedSize = 1778
20
20
21
21
include Msf ::Payload ::Windows ::Exec_x64
22
22
include Rex ::Powershell ::Command
Original file line number Diff line number Diff line change 16
16
###
17
17
module Metasploit3
18
18
19
- CachedSize = 1703
19
+ CachedSize = 1786
20
20
21
21
include Msf ::Payload ::Windows ::Exec_x64
22
22
include Msf ::Payload ::Windows ::Powershell
Original file line number Diff line number Diff line change 3629
3629
reference_name : 'windows/x64/meterpreter_reverse_tcp'
3630
3630
end
3631
3631
3632
+ context 'windows/x64/powershell_bind_tcp' do
3633
+ it_should_behave_like 'payload cached size is consistent' ,
3634
+ ancestor_reference_names : [
3635
+ 'singles/windows/x64/powershell_bind_tcp'
3636
+ ] ,
3637
+ dynamic_size : false ,
3638
+ modules_pathname : modules_pathname ,
3639
+ reference_name : 'windows/x64/powershell_bind_tcp'
3640
+ end
3641
+
3642
+ context 'windows/x64/powershell_reverse_tcp' do
3643
+ it_should_behave_like 'payload cached size is consistent' ,
3644
+ ancestor_reference_names : [
3645
+ 'singles/windows/x64/powershell_reverse_tcp'
3646
+ ] ,
3647
+ dynamic_size : false ,
3648
+ modules_pathname : modules_pathname ,
3649
+ reference_name : 'windows/x64/powershell_reverse_tcp'
3650
+ end
3651
+
3632
3652
context 'windows/x64/shell/bind_tcp' do
3633
3653
it_should_behave_like 'payload cached size is consistent' ,
3634
3654
ancestor_reference_names : [
You can’t perform that action at this time.
0 commit comments