Skip to content

Instantly share code, notes, and snippets.

@asdofindia
Created March 29, 2020 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asdofindia/c72ab9c94035123596b9bd4983c40e54 to your computer and use it in GitHub Desktop.
Save asdofindia/c72ab9c94035123596b9bd4983c40e54 to your computer and use it in GitHub Desktop.
A (failed) attempt to prove that apk-diff.py of Telegram is broken.
base64 /dev/urandom | head -c 10000 > testfile
truncate -s 8192 testfile
zip apk1.apk testfile
echo "malicious code" >> testfile
zip apk2.apk testfile
python apkdiff.py apk1.apk apk2.apk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment