Last active
July 2, 2021 22:20
-
-
Save eybisi/09a74e6edf71f5cb37764a1404695461 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
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