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

Place a flag in Windows to ignore System Volume Information folder #13

Open
murpg opened this issue Feb 24, 2022 · 1 comment
Open

Place a flag in Windows to ignore System Volume Information folder #13

murpg opened this issue Feb 24, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@murpg
Copy link

murpg commented Feb 24, 2022

By default the Windows "System Volume Information" is locked because Windows uses this folder for certain system-level features. The permissions are set to prevent users—and programs without the appropriate permissions—from tampering with the files inside and interfering with important system functions.

Are you able to please put a flag for the GO binary to ignore this folder? It throws and error. You can reproduce by going to the root level of any Windows drive and running the binary.

log4j-detect scan
Scanning F:\ for vulnerabilities...
fsWalkErrorFunc error: open F:\System Volume Information: Access is denied.

@rarkins rarkins added the enhancement New feature or request label Feb 28, 2022
@rarkins
Copy link
Member

rarkins commented Feb 28, 2022

Hi @murpg. We currently have a list of ignored folders but they're hardcoded internally and not exposed through config currently. For now our recommendation is to run it on source/project directories and not for a full drive which may have system folders.

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

No branches or pull requests

2 participants