Skip to content

Instantly share code, notes, and snippets.

@eybisi
Last active July 2, 2021 22:20
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 eybisi/09a74e6edf71f5cb37764a1404695461 to your computer and use it in GitHub Desktop.
Save eybisi/09a74e6edf71f5cb37764a1404695461 to your computer and use it in GitHub Desktop.
from androguard.core.bytecodes import apk
import sys
import logging
logging.getLogger().setLevel(logging.ERROR)
a = apk.APK(sys.argv[1])
activities = a.get_activities()
application = a.get_attribute_value("application","name")
print([a.replace(".","/") for a in activities])
print(application.replace(".","/"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment