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

adding additional filtering for generic carver #83

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Caesurus
Copy link
Contributor

@Caesurus Caesurus commented Sep 8, 2021

Upstreaming changes to improve filtering in the generic carver.
I was seeing a lot of zlib files that ended up being invalid, so those are now filtered out.
additionally, there are cases where binwalk will extract a file that is identical to the original (usually 0.<extension>) which is utterly unhelpful.

I also changed the shell command to have a timeout of 10 mins. I was seeing cases where binwalk tried to extract for very long periods of time and ended up producing nothing useful. Happy to change that back if you don't agree with that part of it.

Caesurus and others added 2 commits September 8, 2021 08:55
Latest binwalk wants an extra `--run-as=root` parameter
@Caesurus
Copy link
Contributor Author

@jstucke: The next time you build the container binwalk will upgrade and the generic_carver breaks because of the required extra argument.

Note: https://github.com/ReFirmLabs/binwalk#-extraction-security-notice-

Just wanted to point it out and raise awareness

@Caesurus Caesurus marked this pull request as draft September 16, 2021 18:48
@Caesurus
Copy link
Contributor Author

Marking as draft. I realized that I have some other changes I'd like to upstream, so will make this a Draft at this point.

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

Successfully merging this pull request may close these issues.

1 participant