asthook.dynamic package

Subpackages

Submodules

asthook.dynamic.cmd module

class asthook.dynamic.cmd.DynCmd(modules, device, frida, args)

Bases: Cmd

complete_call(text, line, begidx, endidx)
complete_load(text, line, begidx, endidx)
complete_unload(text, line, begidx, endidx)
do_EOF(arg)
do_call(arg)
do_detach(arg)
do_exit(arg)
do_load(arg)
do_reload(arg)
do_shell(arg)
do_unload(arg)
emptyline()

Called when an empty line is entered in response to the prompt.

If this method is not overridden, it repeats the last nonempty command entered.

prompt = 'asthook >'

asthook.dynamic.frida module

class asthook.dynamic.frida.Frida(device, package, rooted)

Bases: object

Manage all interation with frida

List_files_loaded = {}
attach(pid=None)
classmethod check_abi(device)
check_frida_server()
detach()
get_store()
launch_frida()
load(file, option, function=None, absolute=False, script=None)
on_message_print(message, data)
on_message_store(message, data)
post(script, message)
reload()
resume()
spawn(arg)
unload(file)

asthook.dynamic.mmodule module

Module contents

class asthook.dynamic.DynamicAnalysis(package, args, tmp_dir)

Bases: object

Class to manage all dynamic analysis

clean_lock_file(phone)
static emulation_f(path, phone, proxy, tmp_dir, no_erase, version_android)

Launch the emulator

emulation_is_alive(emulation)
generalinfo()

Print some information on the storing informations

get_user_share()
install_apk(apk)
patch_apk(apk)
setup_certificate(proxy_cert)

Install a certificate on the mobile