Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate environment variables #311

Open
joachimmetz opened this Issue Feb 7, 2019 · 3 comments

Comments

Projects
None yet
1 participant
@joachimmetz
Copy link
Member

joachimmetz commented Feb 7, 2019

Validate environment variables, such as %%environ_systemdrive%% in paths

@joachimmetz

This comment has been minimized.

Copy link
Member Author

joachimmetz commented Mar 3, 2019

grep %%environ_ data/* | sed "s/^[^%]*%%/%%/;s/%%[^%]*$/%%/" | sort | uniq
%%environ_allusersappdata%%
%%environ_allusersprofile%%
%%environ_programfiles%%
%%environ_programfilesx86%%
%%environ_systemdrive%%
%%environ_systemroot%%
%%environ_windir%%

Where %%environ_allusersappdata%% does not seem to be a Windows native environment variable
https://en.wikipedia.org/wiki/Environment_variable

@joachimmetz

This comment has been minimized.

Copy link
Member Author

joachimmetz commented Mar 4, 2019

To do: determine how GRR uses %%environ_allusersappdata%%

joachimmetz added a commit that referenced this issue Mar 31, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.