Skip to content

Instantly share code, notes, and snippets.

@g10guang
Last active May 28, 2021 02:19
Show Gist options
  • Save g10guang/a2155de715b66ad49fa71eea0a411229 to your computer and use it in GitHub Desktop.
Save g10guang/a2155de715b66ad49fa71eea0a411229 to your computer and use it in GitHub Desktop.
unix useful command

delete file exclude pattern:

find . ! -name '*.apk*' -delete

extract apk file

unzip xxxx.apk -d ${target_dir}

print file binary data

hexdump -s 1598023 -n 32 test_offset_1598023_hellotestdynamicpack.apk

or use python to read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment