-
Notifications
You must be signed in to change notification settings - Fork 31
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
Extracting zip with generic carver produces wired results #123
Comments
Looking at the code I just noticed that this is a binwalk issue. |
Actually I think this is our issue. Adding "--rm" to the binwalk invocation might be the solution (and works for my limited test cases). |
It seems to me this |
I don't think this is (entirely) our fault. Unpacking the same file from itself is the fault of binwalk IMHO. Adding We could also try to handle this specific case in "fact_helper_file" and force the file to be detected as But is this a general problem with binwalk or is this a special case? Does this only affect zip files that are not detected as zip or also other files? |
Running fact_extractor with 0.zip gives me wired results.
Here is the output of tree in the respective extraction directory:
The report tells us that one file was extracted which is the file itself.
They even have the same hashes.
What happened here?
The text was updated successfully, but these errors were encountered: