asthook.static package

Subpackages

Submodules

asthook.static.decompiler module

class asthook.static.decompiler.Decompiler(app, base_path, args)

Bases: object

move_prev_decompilation(prev_decompiler)

asthook.static.manifest module

class asthook.static.manifest.Manifest(path)

Bases: object

CONST_ANDROID = '{http://schemas.android.com/apk/res/android}'
PERMISSIONS_DANGEROUS = {'READ_EXTERNAL_STORAGE': 'Read data on external storage', 'RECEIVE_BOOT_COMPLETED': 'Launch activity when phone boot', 'SEND_SMS': 'Application can send premium sms without user interaction', 'WRITE_EXTERNAL_STORAGE': 'Write data on external storage'}
android(name)
check_need_permissions(obj)
classmethod convertA2path(name)
dangerous_functionality()
get_actions_activity(intent_filter, obj)
get_actions_service(intent_filter, obj)
list_activities()
list_broadcasts()
list_permissions()
list_providers()
list_services()

Module contents

class asthook.static.StaticAnalysis(args, tmp_dir)

Bases: object

Main Class to manage all static analysis

parse_server(args)