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

Streamlining error handling when --skip-resources is set #374

Merged
merged 1 commit into from
May 26, 2020

Conversation

mtschirs
Copy link
Contributor

objection patchapk currently does not work well when --skip-resources is set. Especially since the addition of --ignore-nativelibs, objection patchapk does not work at all with --skip-resources unless --ignore-nativelibs is set.

In order to improve the situation somewhat, objection patchapk now handles a missing --ignore-nativelibs similar to a given --enable-debug and prints an incompatibility warning. Also, the check for skip_resources within AndroidPatcher has been moved into the _get_android_manifest function to avoid checks all over the place.

@leonjza
Copy link
Member

leonjza commented May 26, 2020

Neat thanks!

@leonjza leonjza merged commit 25568d3 into sensepost:master May 26, 2020
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.

2 participants