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

Illegal character error when using share with dollar sign #6

Closed
stanhegt opened this issue Jun 2, 2020 · 2 comments
Closed

Illegal character error when using share with dollar sign #6

stanhegt opened this issue Jun 2, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@stanhegt
Copy link

stanhegt commented Jun 2, 2020

Scanning a share with a dollar sign in the name triggers the following exception (note, this only happens when doing a content / keywords scan):

\hostname\sharename$\Tools\x86\Preflight\wmi_format.vbs. Continuing with the next directory.
[-] Some unknown exception Illegal characters in path. occured while processing \hostname\sharename$\Tools\x86\wimscript.ini. Continuing with the next directory.

@vivami
Copy link
Owner

vivami commented Jun 2, 2020

Thanks for reporting this bug, Stan. I can reproduce the bug. I prepend \\?\ to file paths to be able to handle > 260 chars in a path. But apparently FileInfo (Windows) functionality breaks when you have a dolla in fileshare name.

I hope to get around to fixing it later this week.

@vivami vivami added the bug Something isn't working label Jun 2, 2020
@vivami
Copy link
Owner

vivami commented Jun 7, 2020

This should be fixed in 769c3b7. New release is 0.0.8.

@vivami vivami closed this as completed Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants