-
Notifications
You must be signed in to change notification settings - Fork 53
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
Not detecting windows when applying tar loader #970
Comments
Hello @AlonHaviv1 thanks for bringing this issue to us. You could however untar it, move everything under a If you have another suggestion or question please feel free to share. |
Could you give an example where changing the detection of windows to "Windows" would break loaders? |
I interpreted your change as a change in the case sensitive nature of the loader. However, it seems you mean a change in the os plugin, right? I am afraid the change in the os plugin wouldn't end at only changing the as an example, the |
I've encountered an issue where windows OS plugin wouldn't load when loading from tar.
Following my investigation I have found the issue is resulting of confusion between the loader and windows os plugin:
dissect.target/dissect/target/plugins/os/windows/_os.py
Lines 39 to 42 in aab863c
The windows here is lower case, contrasting the real folder name, which is
Windows
.In tar loader, when the tar is not from acquire the filesystem will load with
case_sensitive=True
flag:dissect.target/dissect/target/loaders/tar.py
Lines 53 to 59 in aab863c
Therefore, there is a contradiction between those.
I would love to open a PR to fix that, but I'm not sure if any change will break other loaders that rely on that condition.
The text was updated successfully, but these errors were encountered: