Skip to content

Commit c20d2a1

Browse files
committed
Update post/multi/gather/env
* Use cmd_exec
1 parent a309d99 commit c20d2a1

File tree

1 file changed

+1
-1
lines changed
  • modules/post/multi/gather

1 file changed

+1
-1
lines changed

modules/post/multi/gather/env.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def get_env_shell
4242
@ltype = "unix.environment"
4343
cmd = "env"
4444
end
45-
@output = session.shell_command_token(cmd)
45+
@output = cmd_exec(cmd)
4646
end
4747

4848
def get_env_meterpreter

0 commit comments

Comments
 (0)