asthook package
Subpackages
- asthook.dynamic package
- asthook.static package
- Subpackages
- Submodules
- asthook.static.decompiler module
- asthook.static.manifest module
Manifest
Manifest.CONST_ANDROID
Manifest.PERMISSIONS_DANGEROUS
Manifest.android()
Manifest.check_need_permissions()
Manifest.convertA2path()
Manifest.dangerous_functionality()
Manifest.get_actions_activity()
Manifest.get_actions_service()
Manifest.get_deeplink()
Manifest.list_activities()
Manifest.list_broadcasts()
Manifest.list_permissions()
Manifest.list_providers()
Manifest.list_services()
- Module contents
- asthook.utils package
- Submodules
- asthook.utils.infos module
- Module contents
Output
Output.SpecialEncoder
Output.add_dynamic_mod()
Output.add_printer_callback()
Output.add_to_store()
Output.add_tree_mod()
Output.browse_to_store()
Output.dump()
Output.get_dynamic_mod()
Output.get_printer_callback()
Output.get_store()
Output.get_to_store()
Output.in_restore()
Output.init()
Output.load()
Output.none_print()
Output.print_static_module()
Output.replace()
ReadJavaFile
bprint()
error()
extcall
good()
h2()
hide()
info()
raise_timeout()
timeout()
warning()
Submodules
asthook.asthook_server_ast module
- asthook.asthook_server_ast.main(server, port)
- asthook.asthook_server_ast.proc(conn, index)
asthook.bootstrap module
asthook.conf module
asthook.config module
asthook.log module
- class asthook.log.Log(verbose)
Bases:
object
Class manage logs
- class asthook.log.MyFormatter(position)
Bases:
Formatter
- format(record)
Format the specified record as text.
The record’s attribute dictionary is used as the operand to a string formatting operation which yields the returned string. Before formatting the dictionary, a couple of preparatory steps are carried out. The message attribute of the record is computed using LogRecord.getMessage(). If the formatting string uses the time (as determined by a call to usesTime(), formatTime() is called to format the event time. If there is exception information, it is formatted using formatException() and appended to the message.
- class asthook.log.SplitStreamHandler
Bases:
Handler
- emit(record)
Do whatever it takes to actually log the specified logging record.
This version is intended to be implemented by subclasses and so raises a NotImplementedError.
- asthook.log.debug(msg)
- asthook.log.error(msg)
- asthook.log.info(msg)
- asthook.log.setup_logger(args)
- asthook.log.warning(msg)
asthook.myadb module
- class asthook.myadb.my_adb(host='127.0.0.1', port=5037)
Bases:
object
Class to manage adb it’s only a wrapper
- client = None
- class device(device)
Bases:
object
- device = None
- dir_exist(dir)
- install(app, test=False)
- install_multiple(xxhdpi)
- need_su = False
- pull(src, dst)
- push(src, dst)
- remount()
- root()
- set_root()
- shell(arg)
- spawn(arg)
- uninstall(package)
- devices()
- start_server()
asthook.parser module
- asthook.parser.parser()
Module contents
- asthook.banner()
- asthook.license()
- asthook.main()