Skip to content

Commit

Permalink
Move comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Meatballs1 committed Dec 4, 2014
1 parent c14ba11 commit e471271
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/exploits/windows/local/wmi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ def run_host(server)
:encode_inner_payload => true,
:use_single_quotes => true }
end
# Get the PSH Payload and split it into bitesize chunks
# 1024 appears to be the max value allowed in env vars

psh = cmd_psh_payload(payload.encoded,
payload_instance.arch.first,
psh_options)
Expand All @@ -93,6 +92,8 @@ def run_host(server)
if load_extapi
exec_cmd = psh
else
# Get the PSH Payload and split it into bitesize chunks
# 1024 appears to be the max value allowed in env vars
print_status("[#{server}] Storing payload in environment variables")
chunks = split_code(psh, 1000)
env_name = rand_text_alpha(rand(3)+3)
Expand Down

0 comments on commit e471271

Please sign in to comment.