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

exclude option appears to be ignored #4

Open
bcraigie opened this issue May 16, 2022 · 0 comments
Open

exclude option appears to be ignored #4

bcraigie opened this issue May 16, 2022 · 0 comments

Comments

@bcraigie
Copy link

bcraigie commented May 16, 2022

Hello and thanks for a great wee scanner.

The --exclude option appears to be ignored on Windows, or acts strangely.

I want to ignore the System Volume Information folder on the D drive as it is inaccessible to mere mortals. I've tried:

--exclude "D:\System Volume Information"

I also tried it with single quotes, tried it without the D:\

It just gets ignored and scanned anyway (with an access denied error of course).

Also, if you try

--exclude "D:\System Volume Information\"

(ie with a \ at the end of the path to be exluded), the scan finishes straight away without scanning anything, and with no error.

Am I misunderstanding the syntax of the --exclude parameter?

I am ensuring that the path to be scanned is last on the line (actually the path to be scanned is simply d:\ )

For example (run from an administrative Powershell):

.\local-spring-vuln-scanner.exe --quiet --exclude "D:\System Volume Information" --log "mylogfile.log" d:\

Thanks.

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