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
Open

Validate environment variables #311

joachimmetz opened this issue Feb 7, 2019 · 3 comments

Comments

@joachimmetz
Copy link
Member

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

@joachimmetz
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
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant