Skip to content

Instantly share code, notes, and snippets.

@dweinstein
Created August 22, 2013 18:20
Show Gist options
  • Save dweinstein/6310886 to your computer and use it in GitHub Desktop.
Save dweinstein/6310886 to your computer and use it in GitHub Desktop.
uri.sh extracts URLs from apks statically with minimum fuss
#!/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