File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
modules/payloads/adapters/cmd/windows Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ def generate(opts = {})
4141 cmd_psh_payload ( payload , ARCH_X86 , remove_comspec : true )
4242 end
4343
44+ def generate_stage ( opts = { } )
45+ opts [ :arch ] ||= module_info [ 'AdaptedArch' ]
46+ super
47+ end
48+
4449 def generate_payload_uuid ( conf = { } )
4550 conf [ :arch ] ||= module_info [ 'AdaptedArch' ]
4651 conf [ :platform ] ||= module_info [ 'AdaptedPlatform' ]
Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ def generate(opts = {})
4141 cmd_psh_payload ( payload , ARCH_X64 , remove_comspec : true )
4242 end
4343
44+ def generate_stage ( opts = { } )
45+ opts [ :arch ] ||= module_info [ 'AdaptedArch' ]
46+ super
47+ end
48+
4449 def generate_payload_uuid ( conf = { } )
4550 conf [ :arch ] ||= module_info [ 'AdaptedArch' ]
4651 conf [ :platform ] ||= module_info [ 'AdaptedPlatform' ]
You can’t perform that action at this time.
0 commit comments