Created
August 22, 2013 18:20
-
-
Save dweinstein/6310886 to your computer and use it in GitHub Desktop.
uri.sh extracts URLs from apks statically with minimum fuss
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
#!/usr/bin/env bash | |
if [ ! -d `basename $1 .apk` ]; then | |
apktool d $1 | |
fi | |
find ./`basename $1 .apk` -name '*.smali' -exec grep -o '"https\?://[^"]*"' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment