Last active
March 10, 2018 23:40
-
-
Save zeevox/3746069a712d069037650dbfc084f46c to your computer and use it in GitHub Desktop.
Filter odexed APKs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FOLDER=$PWD | |
ANOTHER='new' | |
mkdir $ANOTHER | |
find "$FOLDER" -type f -iname '*.apk' | while read FILE; do | |
unzip -lqq "$FILE" 'classes.dex' >/dev/null && mv -v "$FILE" "$ANOTHER"/ | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment