SYMBOL INDEX (807 symbols across 122 files) FILE: agent/src/android/hooking.ts type PatternType (line 22) | enum PatternType { FILE: agent/src/android/intent.ts constant FLAG_ACTIVITY_NEW_TASK (line 13) | const FLAG_ACTIVITY_NEW_TASK = 0x10000000; FILE: agent/src/android/lib/interfaces.ts type IAndroidFilesystem (line 3) | interface IAndroidFilesystem { type IExecutedCommand (line 10) | interface IExecutedCommand { type IKeyStoreEntry (line 16) | interface IKeyStoreEntry { type ICurrentActivityFragment (line 22) | interface ICurrentActivityFragment { type IHeapClassDictionary (line 27) | interface IHeapClassDictionary { type IHeapObject (line 31) | interface IHeapObject { type IHeapNormalised (line 36) | interface IHeapNormalised { type IJavaField (line 42) | interface IJavaField { type IKeyStoreDetail (line 47) | interface IKeyStoreDetail { FILE: agent/src/android/lib/types.ts type JavaClass (line 1) | type JavaClass = any; type JavaMethodsOverloadsResult (line 3) | type JavaMethodsOverloadsResult = any; type ClipboardManager (line 5) | type ClipboardManager = JavaClass | any; type File (line 6) | type File = JavaClass | any; type Throwable (line 7) | type Throwable = JavaClass | any; type PackageManager (line 8) | type PackageManager = JavaClass | any; type ArrayMap (line 9) | type ArrayMap = JavaClass | any; type ActivityThread (line 10) | type ActivityThread = JavaClass | any; type Intent (line 11) | type Intent = JavaClass | any; type KeyStore (line 12) | type KeyStore = JavaClass | any; type KeyFactory (line 13) | type KeyFactory = JavaClass | any; type KeyInfo (line 14) | type KeyInfo = JavaClass | any; type SecretKeyFactory (line 15) | type SecretKeyFactory = JavaClass | any; type X509TrustManager (line 16) | type X509TrustManager = JavaClass | any; type SSLContext (line 17) | type SSLContext = JavaClass | any; type CertificatePinner (line 18) | type CertificatePinner = JavaClass | any; type PinningTrustManager (line 19) | type PinningTrustManager = JavaClass | any; type SSLCertificateChecker (line 20) | type SSLCertificateChecker = JavaClass | any; type TrustManagerImpl (line 21) | type TrustManagerImpl = JavaClass | any; type ArrayList (line 22) | type ArrayList = JavaClass | any; type JavaString (line 23) | type JavaString = JavaClass | any; type Runtime (line 24) | type Runtime = JavaClass | any; type IOException (line 25) | type IOException = JavaClass | any; type InputStreamReader (line 26) | type InputStreamReader = JavaClass | any; type BufferedReader (line 27) | type BufferedReader = JavaClass | any; type StringBuilder (line 28) | type StringBuilder = JavaClass | any; type Activity (line 29) | type Activity = JavaClass | any; type ActivityClientRecord (line 30) | type ActivityClientRecord = JavaClass | any; type Bitmap (line 31) | type Bitmap = JavaClass | any; type ByteArrayOutputStream (line 32) | type ByteArrayOutputStream = JavaClass | any; type CompressFormat (line 33) | type CompressFormat = JavaClass | any; type FridaOverload (line 34) | type FridaOverload = { FILE: agent/src/android/pinning.ts method checkClientTrusted (line 55) | checkClientTrusted(chain, authType) { } method checkServerTrusted (line 57) | checkServerTrusted(chain, authType) { } method getAcceptedIssuers (line 58) | getAcceptedIssuers() { FILE: agent/src/android/userinterface.ts constant FLAG_SECURE (line 17) | const FLAG_SECURE = 0x00002000; FILE: agent/src/ios/crypto.ts type CCAlgorithm (line 9) | type CCAlgorithm = { type AlgorithmType (line 13) | type AlgorithmType = { method onEnter (line 80) | onEnter(args) { method onLeave (line 88) | onLeave(retval) { method onEnter (line 100) | onEnter(args) { method onLeave (line 142) | onLeave(retval) { method onEnter (line 154) | onEnter(args) { method onLeave (line 212) | onLeave(retval) { method onEnter (line 225) | onEnter(args) { method onLeave (line 261) | onLeave(retval) { method onEnter (line 271) | onEnter(args) { method onLeave (line 294) | onLeave(retval) { method onEnter (line 314) | onEnter(args) { method onLeave (line 327) | onLeave(retval) { FILE: agent/src/ios/jailbreak.ts method onEnter (line 56) | onEnter(args) { method onLeave (line 73) | onLeave(retval) { method onEnter (line 133) | onEnter(args) { method onLeave (line 148) | onLeave(retval) { method onEnter (line 195) | onEnter(args) { method onLeave (line 206) | onLeave(retval) { method onLeave (line 258) | onLeave(retval) { method onLeave (line 299) | onLeave(retval) { FILE: agent/src/ios/lib/constants.ts type kSec (line 3) | enum kSec { type NSSearchPaths (line 80) | enum NSSearchPaths { type BundleType (line 100) | enum BundleType { FILE: agent/src/ios/lib/interfaces.ts type IKeychainData (line 3) | interface IKeychainData { type IKeychainItem (line 8) | interface IKeychainItem { type IIosFileSystem (line 33) | interface IIosFileSystem { type IIosFilePath (line 40) | interface IIosFilePath { type IIosCookie (line 47) | interface IIosCookie { type ICredential (line 58) | interface ICredential { type IFramework (line 67) | interface IFramework { type IHeapObject (line 74) | interface IHeapObject { type IBinaryModuleDictionary (line 83) | interface IBinaryModuleDictionary { type IBinaryInfo (line 87) | interface IBinaryInfo { FILE: agent/src/ios/lib/types.ts type NSDictionary (line 3) | type NSDictionary = ObjCTypes.Object | any; type NSMutableDictionary (line 4) | type NSMutableDictionary = ObjCTypes.Object | any; type NSString (line 5) | type NSString = ObjCTypes.Object | any; type NSFileManager (line 6) | type NSFileManager = ObjCTypes.Object | any; type NSBundle (line 7) | type NSBundle = ObjCTypes.Object | any; type NSUserDefaults (line 8) | type NSUserDefaults = ObjCTypes.Object | any; type NSHTTPCookieStorage (line 9) | type NSHTTPCookieStorage = ObjCTypes.Object | any; type NSURLCredentialStorage (line 10) | type NSURLCredentialStorage = ObjCTypes.Object | any; type NSArray (line 11) | type NSArray = ObjCTypes.Object | any; type NSData (line 12) | type NSData = ObjCTypes.Object | any; type CFDictionaryRef (line 14) | type CFDictionaryRef = any; type CFTypeRef (line 15) | type CFTypeRef = any; FILE: agent/src/ios/pinning.ts method onEnter (line 64) | onEnter(args) { method onEnter (line 93) | onEnter(args) { method onEnter (line 117) | onEnter(args) { method onEnter (line 147) | onEnter(args) { method onEnter (line 198) | onEnter(args) { method onLeave (line 267) | onLeave(retval) { method onLeave (line 299) | onLeave(retval) { FILE: agent/src/ios/userinterface.ts method onEnter (line 84) | onEnter(args) { method onEnter (line 138) | onEnter(args) { FILE: agent/src/lib/constants.ts type DeviceType (line 1) | enum DeviceType { FILE: agent/src/lib/helpers.ts function reverseEnumLookup (line 6) | function reverseEnumLookup(enumType: T, value: string): string { function printArgs (line 51) | function printArgs(args: {[key: string]:object}): string { FILE: agent/src/lib/interfaces.ts type IFridaInfo (line 1) | interface IFridaInfo { type IIosPackage (line 10) | interface IIosPackage { type IAndroidPackage (line 19) | interface IAndroidPackage { type IIosBundlePaths (line 32) | interface IIosBundlePaths { FILE: agent/src/lib/jobs.ts class Job (line 3) | class Job { method constructor (line 10) | constructor(identifier: number, type: string) { method addInvocation (line 15) | addInvocation(invocation: any): void { method addImplementation (line 25) | addImplementation(implementation: any): void { method addReplacement (line 36) | addReplacement(replacement: any): void { method killAll (line 41) | killAll(): void { FILE: objection/__init__.py function _load_version (line 8) | def _load_version() -> str: FILE: objection/api/app.py function create_app (line 7) | def create_app() -> Flask: FILE: objection/api/rpc.py function invoke (line 10) | def invoke(method): FILE: objection/api/script.py function runonce (line 9) | def runonce(): FILE: objection/commands/android/clipboard.py function monitor (line 4) | def monitor(args: list = None) -> None: FILE: objection/commands/android/command.py function execute (line 6) | def execute(args: list) -> None: FILE: objection/commands/android/general.py function deoptimise (line 4) | def deoptimise(args: list) -> None: FILE: objection/commands/android/generate.py function clazz (line 8) | def clazz(args: list) -> None: function simple (line 26) | def simple(args: list) -> None: FILE: objection/commands/android/heap.py function _should_ignore_methods_with_arguments (line 12) | def _should_ignore_methods_with_arguments(args) -> bool: function _should_return_as_string (line 23) | def _should_return_as_string(args) -> bool: function instances (line 34) | def instances(args: list) -> None: function methods (line 63) | def methods(args: list) -> None: function execute (line 92) | def execute(args: list) -> None: function fields (line 119) | def fields(args: list) -> None: function evaluate (line 143) | def evaluate(args: list) -> None: FILE: objection/commands/android/hooking.py function _is_pattern_or_constant (line 10) | def _is_pattern_or_constant(s: str) -> bool: function _string_is_true (line 32) | def _string_is_true(s: str) -> bool: function _should_dump_backtrace (line 43) | def _should_dump_backtrace(args: list = None) -> bool: function _should_watch (line 54) | def _should_watch(args: list = None) -> bool: function _should_dump_args (line 65) | def _should_dump_args(args: list = None) -> bool: function _should_dump_return_value (line 76) | def _should_dump_return_value(args: list = None) -> bool: function _should_dump_json (line 87) | def _should_dump_json(args: list) -> bool: function _should_be_quiet (line 98) | def _should_be_quiet(args: list) -> bool: function _should_print_only_classes (line 109) | def _should_print_only_classes(args: list = None) -> bool: function _get_flag_value (line 120) | def _get_flag_value(flag: str, args: list) -> Optional[str]: function show_android_classes (line 143) | def show_android_classes(args: list = None) -> None: function show_android_class_loaders (line 162) | def show_android_class_loaders(args: list = None) -> None: function show_android_class_methods (line 179) | def show_android_class_methods(args: list = None) -> None: function notify (line 203) | def notify(args: list = None) -> None: function watch (line 231) | def watch(args: list = None) -> None: function search (line 261) | def search(args: list = None) -> None: function show_registered_broadcast_receivers (line 329) | def show_registered_broadcast_receivers(args: list = None) -> None: function show_registered_services (line 345) | def show_registered_services(args: list = None) -> None: function show_registered_activities (line 361) | def show_registered_activities(args: list = None) -> None: function get_current_activity (line 377) | def get_current_activity(args: list = None) -> None: function set_method_return_value (line 391) | def set_method_return_value(args: list = None) -> None: FILE: objection/commands/android/intents.py function _should_dump_backtrace (line 6) | def _should_dump_backtrace(args: list = None) -> bool: function analyze_implicit_intents (line 16) | def analyze_implicit_intents(args: list) -> None: function launch_activity (line 30) | def launch_activity(args: list) -> None: function launch_service (line 48) | def launch_service(args: list) -> None: FILE: objection/commands/android/keystore.py function _should_output_json (line 9) | def _should_output_json(args: list) -> bool: function entries (line 21) | def entries(args: list = None) -> None: function detail (line 36) | def detail(args: list = None) -> None: function clear (line 72) | def clear(args: list = None) -> None: function watch (line 87) | def watch(args: list = None) -> None: FILE: objection/commands/android/monitor.py function string_canary (line 6) | def string_canary(args: list) -> None: FILE: objection/commands/android/pinning.py function _should_be_quiet (line 4) | def _should_be_quiet(args: list) -> bool: function android_disable (line 16) | def android_disable(args: list = None) -> None: FILE: objection/commands/android/proxy.py function android_proxy_set (line 6) | def android_proxy_set(args: list = None) -> None: FILE: objection/commands/android/root.py function disable (line 4) | def disable(args: list = None) -> None: function simulate (line 16) | def simulate(args: list = None) -> None: FILE: objection/commands/command_history.py function history (line 8) | def history(args: list) -> None: function save (line 22) | def save(args: list) -> None: function clear (line 43) | def clear(args: list) -> None: FILE: objection/commands/custom.py function evaluate (line 12) | def evaluate(args: list) -> None: FILE: objection/commands/device.py function get_environment (line 8) | def get_environment(args: list = None) -> None: function _get_ios_environment (line 26) | def _get_ios_environment() -> None: function _get_android_environment (line 43) | def _get_android_environment() -> None: FILE: objection/commands/filemanager.py function _should_download_folder (line 19) | def _should_download_folder(args: list) -> bool: function cd (line 30) | def cd(args: list) -> None: function path_exists (line 140) | def path_exists(path: str) -> bool: function _path_exists_ios (line 155) | def _path_exists_ios(path: str) -> bool: function _path_exists_android (line 167) | def _path_exists_android(path: str) -> bool: function pwd (line 179) | def pwd(args: list = None) -> str: function pwd_print (line 202) | def pwd_print(args: list = None) -> None: function _pwd_ios (line 213) | def _pwd_ios() -> str: function _pwd_android (line 230) | def _pwd_android() -> str: function ls (line 247) | def ls(args: list) -> None: function _ls_ios (line 272) | def _ls_ios(path: str) -> None: function _ls_android (line 346) | def _ls_android(path: str) -> None: function download (line 397) | def download(args: list) -> None: function _download_ios (line 428) | def _download_ios(path: str, destination: str, should_download_folder: b... function _download_android (line 492) | def _download_android(path: str, destination: str, should_download_folde... function upload (line 555) | def upload(args: list) -> None: function _upload_ios (line 581) | def _upload_ios(path: str, destination: str) -> None: function _upload_android (line 616) | def _upload_android(path: str, destination: str) -> None: function rm (line 651) | def rm(args: list) -> None: function _rm_android (line 679) | def _rm_android(t: str) -> None: function _rm_ios (line 701) | def _rm_ios(t: str) -> None: function cat (line 723) | def cat(args: list): function _get_short_ios_listing (line 759) | def _get_short_ios_listing() -> list: function _get_short_android_listing (line 804) | def _get_short_android_listing() -> list: function list_folders_in_current_fm_directory (line 842) | def list_folders_in_current_fm_directory() -> dict: function list_files_in_current_fm_directory (line 876) | def list_files_in_current_fm_directory() -> dict: function list_content_in_current_fm_directory (line 910) | def list_content_in_current_fm_directory() -> dict: FILE: objection/commands/frida_commands.py function _should_disable_exception_handler (line 10) | def _should_disable_exception_handler(args: list = None) -> bool: function frida_environment (line 22) | def frida_environment(args: list = None) -> None: function ping (line 42) | def ping(args: list = None) -> None: function load_background (line 57) | def load_background(args: list = None) -> None: FILE: objection/commands/http.py function start (line 7) | def start(args: list) -> None: function stop (line 26) | def stop(args: list) -> None: function status (line 38) | def status(args: list) -> None: FILE: objection/commands/ios/binary.py function info (line 7) | def info(args: list) -> None: FILE: objection/commands/ios/bundles.py function _should_include_apple_bundles (line 8) | def _should_include_apple_bundles(args: list) -> bool: function _should_print_full_path (line 19) | def _should_print_full_path(args: list) -> bool: function _is_apple_bundle (line 30) | def _is_apple_bundle(bundle: str) -> bool: function show_frameworks (line 50) | def show_frameworks(args: list = None) -> None: function show_bundles (line 79) | def show_bundles(args: list = None) -> None: FILE: objection/commands/ios/cookies.py function _should_dump_json (line 9) | def _should_dump_json(args: list) -> bool: function get (line 20) | def get(args: list) -> None: FILE: objection/commands/ios/generate.py function clazz (line 8) | def clazz(args: list) -> None: function simple (line 26) | def simple(args: list) -> None: FILE: objection/commands/ios/heap.py function _should_ignore_methods_with_arguments (line 12) | def _should_ignore_methods_with_arguments(args) -> bool: function _should_print_as_utf8 (line 23) | def _should_print_as_utf8(args) -> bool: function _should_return_as_string (line 34) | def _should_return_as_string(args) -> bool: function _should_interpret_inline_js (line 45) | def _should_interpret_inline_js(args) -> bool: function instances (line 56) | def instances(args: list) -> None: function ivars (line 97) | def ivars(args: list) -> None: function methods (line 121) | def methods(args: list) -> None: function execute (line 152) | def execute(args: list) -> None: function evaluate (line 178) | def evaluate(args: list) -> None: FILE: objection/commands/ios/hooking.py function _should_ignore_native_classes (line 52) | def _should_ignore_native_classes(args: list) -> bool: function _should_include_parent_methods (line 67) | def _should_include_parent_methods(args: list) -> bool: function _class_is_prefixed_with_native (line 82) | def _class_is_prefixed_with_native(class_name: str) -> bool: function _string_is_true (line 99) | def _string_is_true(s: str) -> bool: function _should_dump_backtrace (line 110) | def _should_dump_backtrace(args: list) -> bool: function _should_dump_args (line 121) | def _should_dump_args(args: list) -> bool: function _should_dump_return_value (line 132) | def _should_dump_return_value(args: list) -> bool: function _should_print_only_classes (line 143) | def _should_print_only_classes(args: list) -> bool: function _should_dump_json (line 154) | def _should_dump_json(args: list) -> bool: function _should_be_quiet (line 165) | def _should_be_quiet(args: list) -> bool: function _get_flag_value (line 176) | def _get_flag_value(flag: str, args: list) -> Optional[str]: function show_ios_classes (line 199) | def show_ios_classes(args: list = None) -> None: function show_ios_class_methods (line 224) | def show_ios_class_methods(args: list) -> None: function set_method_return_value (line 253) | def set_method_return_value(args: list) -> None: function watch (line 274) | def watch(args: list) -> None: function search (line 296) | def search(args: list) -> None: FILE: objection/commands/ios/jailbreak.py function disable (line 4) | def disable(args: list = None) -> None: function simulate (line 16) | def simulate(args: list = None) -> None: FILE: objection/commands/ios/keychain.py function _should_output_json (line 9) | def _should_output_json(args: list) -> bool: function _should_do_smart_decode (line 21) | def _should_do_smart_decode(args: list) -> bool: function _data_flag_has_identifier (line 33) | def _data_flag_has_identifier(args: list) -> bool: function _get_flag_value (line 48) | def _get_flag_value(args: list, flag: str) -> str: function dump (line 60) | def dump(args: list = None) -> None: function dump_raw (line 107) | def dump_raw(args: list = None) -> None: function clear (line 122) | def clear(args: list = None) -> None: function remove (line 141) | def remove(args: list) -> None: function update (line 165) | def update(args: list) -> None: function add (line 191) | def add(args: list) -> None: FILE: objection/commands/ios/monitor.py function crypto_enable (line 4) | def crypto_enable(args: list = None) -> None: FILE: objection/commands/ios/nsurlcredentialstorage.py function dump (line 7) | def dump(args: list = None) -> None: FILE: objection/commands/ios/nsuserdefaults.py function get (line 6) | def get(args: list = None) -> None: FILE: objection/commands/ios/pasteboard.py function monitor (line 4) | def monitor(args: list = None) -> None: FILE: objection/commands/ios/pinning.py function _should_be_quiet (line 4) | def _should_be_quiet(args: list) -> bool: function ios_disable (line 16) | def ios_disable(args: list = None) -> None: FILE: objection/commands/ios/plist.py function cat (line 10) | def cat(args: list = None) -> None: FILE: objection/commands/jobs.py function show (line 8) | def show(args: list = None) -> None: function kill (line 38) | def kill(args: list) -> None: function list_current_jobs (line 55) | def list_current_jobs() -> dict: function sync_job_manager (line 70) | def sync_job_manager() -> dict[int, Job]: FILE: objection/commands/memory.py function _is_string_input (line 15) | def _is_string_input(args: list) -> bool: function _should_only_dump_offsets (line 27) | def _should_only_dump_offsets(args: list) -> bool: function _is_string_pattern (line 39) | def _is_string_pattern(args: list) -> bool: function _is_string_replace (line 51) | def _is_string_replace(args: list) -> bool: function _should_output_json (line 63) | def _should_output_json(args: list) -> bool: function _get_chunks (line 74) | def _get_chunks(addr: int, size: int, block_size: int = BLOCK_SIZE) -> L... function dump_all (line 107) | def dump_all(args: list) -> None: function dump_from_base (line 164) | def dump_from_base(args: list) -> None: function list_modules (line 205) | def list_modules(args: list = None) -> None: function list_exports (line 245) | def list_exports(args: list) -> None: function find_pattern (line 290) | def find_pattern(args: list) -> None: function replace_pattern (line 323) | def replace_pattern(args: list) -> None: function write (line 362) | def write(args: list) -> None: FILE: objection/commands/mobile_packages.py function patch_ios_ipa (line 13) | def patch_ios_ipa(source: str, codesign_signature: str, provision_file: ... function patch_android_apk (line 99) | def patch_android_apk(source: str, architecture: str, pause: bool, skip_... function sign_android_apk (line 239) | def sign_android_apk(source: str, skip_cleanup: bool = True) -> None: FILE: objection/commands/plugin_manager.py function load_plugin (line 11) | def load_plugin(args: list = None) -> None: FILE: objection/commands/sqlite.py function modify_config (line 12) | def modify_config(rc): function cleanup (line 32) | def cleanup(p) -> None: function _should_sync_once_done (line 43) | def _should_sync_once_done(args: list) -> bool: function connect (line 54) | def connect(args: list) -> None: FILE: objection/commands/ui.py function alert (line 7) | def alert(args: list = None) -> None: function _alert_ios (line 28) | def _alert_ios(message: str): function ios_screenshot (line 40) | def ios_screenshot(args: list = None) -> None: function dump_ios_ui (line 66) | def dump_ios_ui(args: list = None) -> None: function bypass_touchid (line 80) | def bypass_touchid(args: list = None) -> None: function android_screenshot (line 93) | def android_screenshot(args: list = None) -> None: function android_flag_secure (line 120) | def android_flag_secure(args: list = None) -> None: FILE: objection/console/cli.py function get_agent (line 19) | def get_agent() -> Agent: function cli (line 62) | def cli(network: bool, host: str, port: int, api_host: str, api_port: int, function api (line 105) | def api(): function start (line 129) | def start(plugin_folder: str, quiet: bool, startup_command: str, file_co... function explore (line 205) | def explore(plugin_folder: str, quiet: bool, startup_command: str, file_... function run (line 224) | def run(hook_debug: bool, command: tuple) -> None: function version (line 247) | def version() -> None: function patchipa (line 276) | def patchipa(source: str, gadget_version: str, codesign_signature: str, ... function patchapk (line 322) | def patchapk(source: str, architecture: str, gadget_version: str, pause:... function signapk (line 351) | def signapk(sources, skip_cleanup: bool) -> None: FILE: objection/console/completer.py class CommandCompleter (line 10) | class CommandCompleter(Completer): method __init__ (line 15) | def __init__(self) -> None: method find_completions (line 19) | def find_completions(self, document: Document) -> dict: method get_completions (line 99) | def get_completions(self, document: Document, complete_event: Complete... FILE: objection/console/repl.py class Repl (line 23) | class Repl(object): method __init__ (line 28) | def __init__(self) -> None: method get_prompt_session (line 35) | def get_prompt_session(self) -> PromptSession: method get_prompt_style (line 52) | def get_prompt_style() -> Style: method get_prompt_message (line 78) | def get_prompt_message() -> list: method run_command (line 101) | def run_command(self, document: str) -> None: method _find_command_exec_method (line 174) | def _find_command_exec_method(self, tokens: list) -> tuple: method _find_command_help (line 229) | def _find_command_help(self, tokens: list) -> str: method handle_reconnect (line 283) | def handle_reconnect(document: str) -> bool: method run (line 345) | def run(self, quiet: bool) -> None: FILE: objection/state/api.py class ApiState (line 4) | class ApiState(object): method __init__ (line 7) | def __init__(self): method append_api_blueprint (line 11) | def append_api_blueprint(self, blueprint): method start (line 25) | def start(self, host: str, port: int, debug: bool = False): FILE: objection/state/app.py class AppState (line 1) | class AppState(object): method __init__ (line 4) | def __init__(self): method add_command_to_history (line 11) | def add_command_to_history(self, command: str) -> None: method clear_command_history (line 22) | def clear_command_history(self) -> None: method should_debug_hooks (line 32) | def should_debug_hooks(self) -> bool: method should_debug (line 41) | def should_debug(self) -> bool: FILE: objection/state/connection.py class StateConnection (line 1) | class StateConnection(object): method __init__ (line 4) | def __init__(self) -> None: method use_usb (line 26) | def use_usb(self) -> None: method use_network (line 36) | def use_network(self) -> None: method get_comms_type (line 46) | def get_comms_type(self) -> int: method get_api (line 53) | def get_api(self): method set_agent (line 65) | def set_agent(self, agent): method get_agent (line 75) | def get_agent(self): method __repr__ (line 82) | def __repr__(self) -> str: FILE: objection/state/device.py class Device (line 1) | class Device(object): class Android (line 6) | class Android(Device): class Ios (line 13) | class Ios(Device): class DeviceState (line 20) | class DeviceState(object): method set_version (line 26) | def set_version(self, v: str): method set_platform (line 36) | def set_platform(self, t: Device): method __repr__ (line 46) | def __repr__(self) -> str: FILE: objection/state/filemanager.py class FileManagerState (line 1) | class FileManagerState(object): method __init__ (line 4) | def __init__(self) -> None: FILE: objection/state/jobs.py class Job (line 10) | class Job(object): method __init__ (line 13) | def __init__(self, name, job_type, handle, uuid: int = None) -> None: method end (line 31) | def end(self): class JobManagerState (line 49) | class JobManagerState(object): method __init__ (line 52) | def __init__(self) -> None: method add_job (line 63) | def add_job(self, new_job: Job) -> None: method remove_job (line 75) | def remove_job(self, job_uuid: int): method cleanup (line 89) | def cleanup(self) -> None: FILE: objection/utils/__init__.py class MakeFileHandler (line 10) | class MakeFileHandler(logging.FileHandler): method __init__ (line 15) | def __init__(self, filename: str, mode: str = 'a', encoding: str = Non... function new_secho (line 30) | def new_secho(text: str, **kwargs) -> None: FILE: objection/utils/agent.py class AgentConfig (line 20) | class AgentConfig(object): class OutputHandlers (line 35) | class OutputHandlers(object): method device_output (line 38) | def device_output(self): method device_lost (line 41) | def device_lost(self): method session_on_detached (line 45) | def session_on_detached(message: str, crash): method script_on_message (line 79) | def script_on_message(message: dict, data): class Agent (line 112) | class Agent(object): method __init__ (line 127) | def __init__(self, config: AgentConfig): method _get_agent_source (line 143) | def _get_agent_source(self) -> str: method set_device (line 155) | def set_device(self): method set_target_pid (line 190) | def set_target_pid(self): method attach (line 276) | def attach(self): method attach_script (line 304) | def attach_script(self, job_name, source): method update_device_state (line 321) | def update_device_state(self): method resume (line 340) | def resume(self): method exports (line 356) | def exports(self): method run (line 368) | def run(self): method teardown (line 387) | def teardown(self): FILE: objection/utils/assets/javahookmanager.js class JavaHookManager (line 10) | class JavaHookManager { method constructor (line 14) | constructor(clazzName, verbose = false) { method printVerbose (line 25) | printVerbose(message) { method print (line 30) | print(message) { method populateAvailableMethods (line 36) | populateAvailableMethods(clazz) { method validMethod (line 62) | validMethod(method) { method isHookingMethod (line 69) | isHookingMethod(method) { method hook (line 80) | hook(m, f = null) { method unhook (line 111) | unhook(method) { FILE: objection/utils/assets/objchookmanager.js class ObjCHookManager (line 10) | class ObjCHookManager { method constructor (line 14) | constructor(clazzName, verbose = false) { method printVerbose (line 25) | printVerbose(message) { method print (line 30) | print(message) { method populateAvailableMethods (line 34) | populateAvailableMethods(clazz) { method validMethod (line 40) | validMethod(method) { method isHookingMethod (line 47) | isHookingMethod(method) { method hook (line 58) | hook(m, enter = null, leave = null) { method unhook (line 86) | unhook(method) { FILE: objection/utils/helpers.py function debug_print (line 10) | def debug_print(message: str) -> None: function pretty_concat (line 23) | def pretty_concat(data: str, at_most: int = 75, left: bool = False) -> str: function sizeof_fmt (line 47) | def sizeof_fmt(num: float, suffix: str = 'B') -> str: function get_tokens (line 59) | def get_tokens(text: str) -> list: function clean_argument_flags (line 83) | def clean_argument_flags(args: list) -> list: function to_snake_case (line 97) | def to_snake_case(w: str) -> str: function print_frida_connection_help (line 109) | def print_frida_connection_help() -> None: function warn_about_older_operating_systems (line 129) | def warn_about_older_operating_systems() -> None: FILE: objection/utils/patchers/android.py class AndroidGadget (line 19) | class AndroidGadget(BasePlatformGadget): method __init__ (line 36) | def __init__(self, github: Github) -> None: method set_architecture (line 56) | def set_architecture(self, architecture: str): method get_architecture (line 72) | def get_architecture(self) -> str: method get_frida_library_path (line 81) | def get_frida_library_path(self, packed: bool = False) -> str: method gadget_exists (line 95) | def gadget_exists(self) -> bool: method download (line 107) | def download(self): method _get_download_url (line 131) | def _get_download_url(self) -> str: method unpack (line 155) | def unpack(self): method cleanup (line 170) | def cleanup(self): class AndroidPatcher (line 182) | class AndroidPatcher(BasePlatformPatcher): method __init__ (line 203) | def __init__(self, skip_cleanup: bool = False, skip_resources: bool = ... method is_apktool_ready (line 220) | def is_apktool_ready(self) -> bool: method set_apk_source (line 270) | def set_apk_source(self, source: str): method _get_android_manifest (line 285) | def _get_android_manifest(self) -> ElementTree: method _get_appt_output (line 305) | def _get_appt_output(self): method _get_launchable_activity (line 328) | def _get_launchable_activity(self) -> str: method get_patched_apk_path (line 382) | def get_patched_apk_path(self) -> str: method get_temp_working_directory (line 391) | def get_temp_working_directory(self) -> str: method unpack_apk (line 400) | def unpack_apk(self, fix_concurrency_to = None): method inject_internet_permission (line 429) | def inject_internet_permission(self): method extract_native_libs_patch (line 463) | def extract_native_libs_patch(self): method flip_debug_flag_to_true (line 496) | def flip_debug_flag_to_true(self): method add_network_security_config (line 531) | def add_network_security_config(self): method _determine_smali_path_for_class (line 586) | def _determine_smali_path_for_class(self, target_class) -> str: method _determine_end_of_smali_method_from_line (line 631) | def _determine_end_of_smali_method_from_line(smali: list, start: int) ... method _determine_first_inject_point_of_smali_method_from_line (line 666) | def _determine_first_inject_point_of_smali_method_from_line(smali: lis... method _patch_smali_with_load_library (line 704) | def _patch_smali_with_load_library(self, smali_lines: list, inject_mar... method _revalue_locals_count (line 760) | def _revalue_locals_count(self, patched_smali: list, inject_marker: int): method inject_load_library (line 816) | def inject_load_library(self, target_class: str = None): method add_gadget_to_apk (line 867) | def add_gadget_to_apk(self, architecture: str, gadget_source: str, gad... method build_new_apk (line 892) | def build_new_apk(self, use_aapt2: bool = False, fix_concurrency_to = ... method zipalign_apk (line 918) | def zipalign_apk(self): method sign_apk (line 942) | def sign_apk(self): method __del__ (line 974) | def __del__(self): FILE: objection/utils/patchers/base.py function list2posix_cmdline (line 16) | def list2posix_cmdline(seq): class BasePlatformGadget (line 28) | class BasePlatformGadget(object): method __init__ (line 31) | def __init__(self, github: Github) -> None: method get_local_version (line 41) | def get_local_version(gadget_type: str) -> str: method set_local_version (line 68) | def set_local_version(self, gadget_type: str, version: str): class BasePlatformPatcher (line 104) | class BasePlatformPatcher(object): method __init__ (line 110) | def __init__(self): method _check_commands (line 121) | def _check_commands(self) -> bool: method are_requirements_met (line 143) | def are_requirements_met(self): FILE: objection/utils/patchers/github.py class Github (line 4) | class Github(object): method __init__ (line 13) | def __init__(self, gadget_version: str = None): method _call (line 23) | def _call(self, endpoint: str) -> dict: method get_latest_version (line 44) | def get_latest_version(self) -> str: method get_assets (line 56) | def get_assets(self) -> dict: FILE: objection/utils/patchers/ios.py class IosGadget (line 17) | class IosGadget(BasePlatformGadget): method __init__ (line 24) | def __init__(self, github: Github) -> None: method get_gadget_path (line 38) | def get_gadget_path(self) -> str: method gadget_exists (line 48) | def gadget_exists(self): method download (line 57) | def download(self): method _get_download_url (line 83) | def _get_download_url(self) -> str: method unpack (line 103) | def unpack(self): method cleanup (line 124) | def cleanup(self): class IosPatcher (line 136) | class IosPatcher(BasePlatformPatcher): method __init__ (line 167) | def __init__(self, skip_cleanup: bool = False): method set_provsioning_profile (line 192) | def set_provsioning_profile(self, provision_file: str = None, bundle_i... method extract_ipa (line 269) | def extract_ipa(self, unzip_unicode, ipa_source: str) -> None: method set_application_binary (line 304) | def set_application_binary(self, binary: str = None) -> None: method patch_and_codesign_binary (line 330) | def patch_and_codesign_binary(self, frida_gadget: str, codesign_signat... method archive_and_codesign (line 395) | def archive_and_codesign(self, original_name: str, codesign_signature:... method get_patched_ipa_path (line 441) | def get_patched_ipa_path(self) -> str: method _set_bundle_id_from_profile (line 450) | def _set_bundle_id_from_profile(self): method _cleanup_extracted_data (line 493) | def _cleanup_extracted_data(self) -> None: method __del__ (line 504) | def __del__(self): FILE: objection/utils/plugin.py class Plugin (line 9) | class Plugin(ABC): method __init__ (line 12) | def __init__(self, plugin_file: str, namespace: str, implementation: d... method _prepare_source (line 41) | def _prepare_source(self): method inject (line 77) | def inject(self) -> None: method _append_to_api (line 101) | def _append_to_api(self): FILE: objection/utils/update_checker.py function cached_version_data (line 22) | def cached_version_data() -> version_data: function update_version_cache (line 41) | def update_version_cache(version: str) -> None: function notify_newer_version (line 56) | def notify_newer_version() -> None: function check_version (line 75) | def check_version() -> None: FILE: plugins/api/__init__.py class ApiLoader (line 6) | class ApiLoader(Plugin): method __init__ (line 23) | def __init__(self, ns): method http_api (line 36) | def http_api(self) -> Blueprint: FILE: plugins/flex/__init__.py class FlexLoader (line 10) | class FlexLoader(Plugin): method __init__ (line 13) | def __init__(self, ns): method load_flex (line 36) | def load_flex(self, args: list): method _upload_flex (line 56) | def _upload_flex(self, location: str) -> bool: FILE: plugins/mettle/__init__.py class MettleLoader (line 10) | class MettleLoader(Plugin): method __init__ (line 13) | def __init__(self, ns): method load_mettle (line 40) | def load_mettle(self, args: list): method _upload_mettle (line 61) | def _upload_mettle(self, location: str) -> bool: method connect_mettle (line 78) | def connect_mettle(self, args: list): FILE: plugins/stetho/__init__.py class StethoLoader (line 10) | class StethoLoader(Plugin): method __init__ (line 13) | def __init__(self, ns): method load_stetho (line 36) | def load_stetho(self, args: list): method _upload_stetho (line 55) | def _upload_stetho(self, location: str) -> bool: FILE: tests/commands/android/test_clipboard.py class TestClipboard (line 7) | class TestClipboard(unittest.TestCase): method test_monitor (line 9) | def test_monitor(self, mock_api): FILE: tests/commands/android/test_command.py class TestCommand (line 8) | class TestCommand(unittest.TestCase): method test_execute_prints_output (line 10) | def test_execute_prints_output(self, mock_api): FILE: tests/commands/android/test_heap.py class TestHeap (line 8) | class TestHeap(unittest.TestCase): method test_print_live_instances_validates_command (line 10) | def test_print_live_instances_validates_command(self, mock_api): method test_print_live_instances_validates_command (line 18) | def test_print_live_instances_validates_command(self, mock_api): FILE: tests/commands/android/test_hooking.py class TestHooking (line 11) | class TestHooking(unittest.TestCase): method test_checks_if_string_value_is_python_boolean_true (line 12) | def test_checks_if_string_value_is_python_boolean_true(self): method test_checks_if_string_value_is_python_boolean_false (line 17) | def test_checks_if_string_value_is_python_boolean_false(self): method test_argument_includes_backtrace_flag (line 22) | def test_argument_includes_backtrace_flag(self): method test_argument_dump_args_returns_true (line 30) | def test_argument_dump_args_returns_true(self): method test_argument_dump_args_returns_false (line 38) | def test_argument_dump_args_returns_false(self): method test_argument_dump_return_returns_true (line 45) | def test_argument_dump_return_returns_true(self): method test_argument_dump_return_returns_false (line 53) | def test_argument_dump_return_returns_false(self): method test_show_android_classes (line 61) | def test_show_android_classes(self, mock_api): method test_show_android_class_methods_validates_arguments (line 80) | def test_show_android_class_methods_validates_arguments(self): method test_show_android_class_methods (line 87) | def test_show_android_class_methods(self, mock_api): method test_show_registered_broadcast_receivers_handles_empty_data (line 106) | def test_show_registered_broadcast_receivers_handles_empty_data(self, ... method test_show_registered_broadcast_receivers (line 115) | def test_show_registered_broadcast_receivers(self, mock_api): method test_show_registered_services_handles_empty_data (line 133) | def test_show_registered_services_handles_empty_data(self, mock_api): method test_show_services (line 142) | def test_show_services(self, mock_api): method test_show_registered_activities_handles_empty_data (line 160) | def test_show_registered_activities_handles_empty_data(self, mock_api): method test_show_registered_activities (line 169) | def test_show_registered_activities(self, mock_api): method test_set_method_return_value_validates_arguments (line 186) | def test_set_method_return_value_validates_arguments(self): method test_set_method_return_value (line 195) | def test_set_method_return_value(self, mock_api): method test_get_current_activity_and_fragment (line 201) | def test_get_current_activity_and_fragment(self, mock_api): FILE: tests/commands/android/test_intents.py class TestIntents (line 8) | class TestIntents(unittest.TestCase): method test_launch_activity_validates_arguments (line 9) | def test_launch_activity_validates_arguments(self): method test_launch_activity (line 16) | def test_launch_activity(self, mock_api): method test_launch_service_validates_arguments (line 21) | def test_launch_service_validates_arguments(self): method test_launch_service (line 28) | def test_launch_service(self, mock_api): method test_analyze_implicit_intents (line 34) | def test_analyze_implicit_intents(self, mock_api): FILE: tests/commands/android/test_keystore.py class TestKeystore (line 8) | class TestKeystore(unittest.TestCase): method test_entries_handles_empty_data (line 10) | def test_entries_handles_empty_data(self, mock_api): method test_entries_handles (line 23) | def test_entries_handles(self, mock_api): method test_clear (line 42) | def test_clear(self, mock_confirm, mock_api): FILE: tests/commands/android/test_pinning.py class TestPinning (line 7) | class TestPinning(unittest.TestCase): method test_pinning_disable (line 9) | def test_pinning_disable(self, mock_api): FILE: tests/commands/android/test_root.py class TestRoot (line 7) | class TestRoot(unittest.TestCase): method test_disable (line 9) | def test_disable(self, mock_api): method test_simulate (line 15) | def test_simulate(self, mock_api): FILE: tests/commands/ios/test_bundles.py class TestBundles (line 9) | class TestBundles(unittest.TestCase): method setUp (line 10) | def setUp(self) -> None: method test_should_include_apple_bundles_helper_is_true (line 38) | def test_should_include_apple_bundles_helper_is_true(self): method test_should_include_apple_bundles_helper_is_false (line 42) | def test_should_include_apple_bundles_helper_is_false(self): method test_should_print_full_path_helper_is_true (line 46) | def test_should_print_full_path_helper_is_true(self): method test_should_print_full_path_helper_is_false (line 50) | def test_should_print_full_path_helper_is_false(self): method test_is_apple_bunlde_returns_false_on_none (line 54) | def test_is_apple_bunlde_returns_false_on_none(self): method test_is_apple_bunlde_returns_true_for_apple_bundle (line 57) | def test_is_apple_bunlde_returns_true_for_apple_bundle(self): method test_is_apple_bunlde_returns_false_for_string_not_starting_with_com_apple (line 60) | def test_is_apple_bunlde_returns_false_for_string_not_starting_with_co... method test_is_apple_bunlde_returns_false_for_non_apple_bundle (line 63) | def test_is_apple_bunlde_returns_false_for_non_apple_bundle(self): method test_show_frameworks_prints_without_apple_bundles (line 67) | def test_show_frameworks_prints_without_apple_bundles(self, mock_api): method test_show_frameworks_prints_with_apple_bundles (line 82) | def test_show_frameworks_prints_with_apple_bundles(self, mock_api): method test_show_frameworks_prints_with_apple_bundles_and_full_paths (line 99) | def test_show_frameworks_prints_with_apple_bundles_and_full_paths(self... method test_show_bundles_prints_bundles (line 116) | def test_show_bundles_prints_bundles(self, mock_api): method test_show_bundles_prints_bundles (line 133) | def test_show_bundles_prints_bundles(self, mock_api): FILE: tests/commands/ios/test_cookies.py class TestCookies (line 8) | class TestCookies(unittest.TestCase): method test_get_handles_empty_data (line 10) | def test_get_handles_empty_data(self, mock_api): method test_get (line 19) | def test_get(self, mock_api): FILE: tests/commands/ios/test_hooking.py class TestHooking (line 9) | class TestHooking(unittest.TestCase): method test_should_ignore_native_classes_returns_true (line 10) | def test_should_ignore_native_classes_returns_true(self): method test_should_ignore_native_classes_returns_false (line 18) | def test_should_ignore_native_classes_returns_false(self): method test_should_include_parents_includes_returns_true (line 25) | def test_should_include_parents_includes_returns_true(self): method test_should_include_parents_includes_returns_false (line 33) | def test_should_include_parents_includes_returns_false(self): method test_class_is_prefixed_with_native_returns_true (line 40) | def test_class_is_prefixed_with_native_returns_true(self): method test_class_is_prefixed_with_native_returns_false (line 45) | def test_class_is_prefixed_with_native_returns_false(self): method test_string_is_true_returns_true (line 50) | def test_string_is_true_returns_true(self): method test_string_is_true_returns_false (line 55) | def test_string_is_true_returns_false(self): method test_show_ios_class_methods_validates_arguments (line 60) | def test_show_ios_class_methods_validates_arguments(self): method test_show_ios_class_methods (line 67) | def test_show_ios_class_methods(self, mock_api): method test_set_method_return_value_validates_arguments (line 81) | def test_set_method_return_value_validates_arguments(self): method test_set_method_return_value (line 89) | def test_set_method_return_value(self, mock_api): FILE: tests/commands/ios/test_jailbreak.py class TestJailbreak (line 7) | class TestJailbreak(unittest.TestCase): method test_disable (line 9) | def test_disable(self, mock_api): method test_simulate (line 15) | def test_simulate(self, mock_api): FILE: tests/commands/ios/test_keychain.py class TestKeychain (line 9) | class TestKeychain(unittest.TestCase): method test_should_output_json_in_arguments_returns_true (line 10) | def test_should_output_json_in_arguments_returns_true(self): method test_should_output_json_in_arguments_returns_false (line 18) | def test_should_output_json_in_arguments_returns_false(self): method test_dump_validates_arguments_if_json_output_is_wanted (line 25) | def test_dump_validates_arguments_if_json_output_is_wanted(self): method test_data_flag_check_ignored_without_data_flag (line 31) | def test_data_flag_check_ignored_without_data_flag(self): method test_data_flag_is_checked_when_flag_is_specified (line 36) | def test_data_flag_is_checked_when_flag_is_specified(self): method test_data_flag_is_checked_when_only_data_flag_is_specified_without_key (line 41) | def test_data_flag_is_checked_when_only_data_flag_is_specified_without... method test_should_do_smart_decode_returns_true (line 46) | def test_should_do_smart_decode_returns_true(self): method test_should_do_smart_decode_returns_false (line 51) | def test_should_do_smart_decode_returns_false(self): method test_get_flag_value_gets_value_of_flag (line 56) | def test_get_flag_value_gets_value_of_flag(self): method test_dump_to_screen_handles_empty_data (line 62) | def test_dump_to_screen_handles_empty_data(self, mock_api): method test_dump_to_screen (line 77) | def test_dump_to_screen(self, mock_api): method test_dump_raw (line 97) | def test_dump_raw(self, mock_api): method test_dump_to_json (line 107) | def test_dump_to_json(self, mock_open, mock_api): method test_clear (line 131) | def test_clear(self, mock_confirm, mock_api): method test_adds_item_validates_data_key_to_need_identifier (line 140) | def test_adds_item_validates_data_key_to_need_identifier(self): method test_adds_item_successfully (line 147) | def test_adds_item_successfully(self, mock_api): method test_adds_item_with_failure (line 160) | def test_adds_item_with_failure(self, mock_api): FILE: tests/commands/ios/test_nsurlcredentialstorage.py class TestNsusercredentialstorage (line 8) | class TestNsusercredentialstorage(unittest.TestCase): method test_dump (line 10) | def test_dump(self, mock_api): FILE: tests/commands/ios/test_nsuserdefaults.py class TestNsuserdefaults (line 8) | class TestNsuserdefaults(unittest.TestCase): method test_get (line 10) | def test_get(self, mock_api): FILE: tests/commands/ios/test_pasteboard.py class TestPasteboard (line 7) | class TestPasteboard(unittest.TestCase): method test_monitor (line 9) | def test_monitor(self, mock_api): FILE: tests/commands/ios/test_pinning.py class TestPinning (line 7) | class TestPinning(unittest.TestCase): method test_disable (line 9) | def test_disable(self, mock_api): method test_should_be_quiet_returns_true (line 14) | def test_should_be_quiet_returns_true(self): method test_should_be_quiet_returns_false (line 18) | def test_should_be_quiet_returns_false(self): FILE: tests/commands/ios/test_plist.py class TestPlist (line 9) | class TestPlist(unittest.TestCase): method test_cat_validates_arguments (line 10) | def test_cat_validates_arguments(self): method test_cat_with_full_path (line 17) | def test_cat_with_full_path(self, mock_api): method test_cat_with_relative (line 27) | def test_cat_with_relative(self, mock_file_manager, mock_api): FILE: tests/commands/test_command_history.py class TestCommandHistory (line 9) | class TestCommandHistory(unittest.TestCase): method setUp (line 10) | def setUp(self): method tearDown (line 13) | def tearDown(self): method test_prints_command_history (line 16) | def test_prints_command_history(self): method test_save_validates_arguments (line 27) | def test_save_validates_arguments(self): method test_save_saves_to_file (line 34) | def test_save_saves_to_file(self, mock_open): method test_clear_clears_command_history (line 41) | def test_clear_clears_command_history(self): FILE: tests/commands/test_device.py class TestDevice (line 9) | class TestDevice(unittest.TestCase): method test_gets_environment_and_calls_ios_platform_specific_method (line 13) | def test_gets_environment_and_calls_ios_platform_specific_method(self,... method test_gets_environment_and_calls_android_platform_specific_method (line 22) | def test_gets_environment_and_calls_android_platform_specific_method(s... method test_prints_ios_environment_via_platform_helpers (line 31) | def test_prints_ios_environment_via_platform_helpers(self, mock_api): method test_prints_android_environment_via_platform_helpers (line 47) | def test_prints_android_environment_via_platform_helpers(self, mock_api): FILE: tests/commands/test_filemanager.py class TestFileManager (line 11) | class TestFileManager(unittest.TestCase): method tearDown (line 12) | def tearDown(self): method test_cd_argument_validation (line 15) | def test_cd_argument_validation(self): method test_cd_to_dot_directory_does_nothing (line 21) | def test_cd_to_dot_directory_does_nothing(self): method test_cd_to_double_dot_moves_up_one_directory (line 28) | def test_cd_to_double_dot_moves_up_one_directory(self): method test_cd_to_double_dot_moves_stays_in_current_directory_if_already_root (line 37) | def test_cd_to_double_dot_moves_stays_in_current_directory_if_already_... method test_cd_to_absoluate_ios_path (line 47) | def test_cd_to_absoluate_ios_path(self, mock_path_exists_ios): method test_cd_to_absoluate_android_path (line 60) | def test_cd_to_absoluate_android_path(self, mock_path_exists_android): method test_cd_to_absoluate_ios_path_that_does_not_exist (line 73) | def test_cd_to_absoluate_ios_path_that_does_not_exist(self, mock_path_... method test_cd_to_relative_path_ios (line 86) | def test_cd_to_relative_path_ios(self, mock_path_exists_ios): method test_cd_to_relative_path_android (line 99) | def test_cd_to_relative_path_android(self, mock_path_exists_android): method test_cd_to_relative_path_ios_that_does_not_exist (line 112) | def test_cd_to_relative_path_ios_that_does_not_exist(self, mock_path_e... method test_ios_path_exists_helper (line 125) | def test_ios_path_exists_helper(self, mock_api): method test_rm_dispatcher_validates_arguments (line 130) | def test_rm_dispatcher_validates_arguments(self): method test_rm_dispatcher_confirms_before_delete (line 140) | def test_rm_dispatcher_confirms_before_delete(self, mock_android_rm, m... method test_rm_dispatcher_calls_android_rm_helper (line 155) | def test_rm_dispatcher_calls_android_rm_helper(self, mock_android_rm, ... method test_rm_android_helper_file_exists (line 166) | def test_rm_android_helper_file_exists(self, mock_exists, mock_api): method test_android_path_exists_helper (line 178) | def test_android_path_exists_helper(self, mock_api): method test_returns_current_directory_via_helper_when_already_set (line 183) | def test_returns_current_directory_via_helper_when_already_set(self): method test_returns_current_directory_via_helper_for_ios (line 189) | def test_returns_current_directory_via_helper_for_ios(self, mock_pwd_i... method test_returns_current_directory_via_helper_for_android (line 197) | def test_returns_current_directory_via_helper_for_android(self, mock_p... method test_prints_the_current_working_directory (line 204) | def test_prints_the_current_working_directory(self): method test_get_ios_pwd_via_helper (line 213) | def test_get_ios_pwd_via_helper(self, mock_api): method test_get_android_pwd_via_helper (line 220) | def test_get_android_pwd_via_helper(self, mock_api): method test_ls_gets_pwd_from_helper_with_no_argument (line 228) | def test_ls_gets_pwd_from_helper_with_no_argument(self, _, mock_pwd): method test_ls_calls_ios_helper_method (line 236) | def test_ls_calls_ios_helper_method(self, mock_ls_ios): method test_ls_calls_android_helper_method (line 244) | def test_ls_calls_android_helper_method(self, mock_ls_android): method test_lists_readable_ios_directory_using_helper_method (line 252) | def test_lists_readable_ios_directory_using_helper_method(self, mock_a... method test_lists_readable_ios_directory_using_helper_method_no_attributes (line 290) | def test_lists_readable_ios_directory_using_helper_method_no_attribute... method test_lists_unreadable_ios_directory_using_helper_method (line 318) | def test_lists_unreadable_ios_directory_using_helper_method(self, mock... method test_lists_readable_android_directory_using_helper_method (line 332) | def test_lists_readable_android_directory_using_helper_method(self, mo... method test_lists_unreadable_android_directory_using_helper_method (line 366) | def test_lists_unreadable_android_directory_using_helper_method(self, ... method test_download_platform_proxy_validates_arguments (line 379) | def test_download_platform_proxy_validates_arguments(self): method test_download_platform_proxy_calls_ios_method (line 386) | def test_download_platform_proxy_calls_ios_method(self, mock_download_... method test_download_platform_proxy_calls_android_method (line 394) | def test_download_platform_proxy_calls_android_method(self, mock_downl... method test_downloads_file_with_ios_helper (line 403) | def test_downloads_file_with_ios_helper(self, mock_open, mock_api): method test_downloads_file_but_fails_on_unreadable_with_ios_helper (line 423) | def test_downloads_file_but_fails_on_unreadable_with_ios_helper(self, ... method test_downloads_file_but_fails_on_file_type_with_ios_helper (line 432) | def test_downloads_file_but_fails_on_file_type_with_ios_helper(self, m... method test_downloads_file_with_android_helper (line 443) | def test_downloads_file_with_android_helper(self, mock_open, mock_api): method test_downloads_file_but_fails_on_unreadable_with_android_helper (line 464) | def test_downloads_file_but_fails_on_unreadable_with_android_helper(se... method test_downloads_file_but_fails_on_file_type_with_android_helper (line 477) | def test_downloads_file_but_fails_on_file_type_with_android_helper(sel... method test_file_upload_method_proxy_validates_arguments (line 489) | def test_file_upload_method_proxy_validates_arguments(self): method test_file_upload_method_proxy_calls_ios_helper_method (line 496) | def test_file_upload_method_proxy_calls_ios_helper_method(self, mock_u... method test_file_upload_method_proxy_calls_android_helper_method (line 504) | def test_file_upload_method_proxy_calls_android_helper_method(self, mo... FILE: tests/commands/test_frida_commands.py class TestFridaCommands (line 8) | class TestFridaCommands(unittest.TestCase): method test_detects_no_exception_handler_argument (line 9) | def test_detects_no_exception_handler_argument(self): method test_gets_frida_environment (line 18) | def test_gets_frida_environment(self, mock_api): FILE: tests/commands/test_jobs.py class MockJob (line 9) | class MockJob: method __init__ (line 14) | def __init__(self): method end (line 20) | def end(self): class TestJobs (line 24) | class TestJobs(unittest.TestCase): method setUp (line 25) | def setUp(self): method tearDown (line 28) | def tearDown(self): method test_displays_empty_jobs_message (line 32) | def test_displays_empty_jobs_message(self, mock_api): method test_displays_list_of_jobs (line 44) | def test_displays_list_of_jobs(self, mock_api): method test_kill_validates_arguments (line 58) | def test_kill_validates_arguments(self): method test_cant_find_job_by_uuid (line 65) | def test_cant_find_job_by_uuid(self, mock_api): method test_kills_job_by_uuid (line 71) | def test_kills_job_by_uuid(self, mock_api): FILE: tests/commands/test_memory.py class MockRange (line 9) | class MockRange: method __init__ (line 14) | def __init__(self): class TestMemory (line 19) | class TestMemory(unittest.TestCase): method test_parses_is_string_input_flag_from_arguments (line 20) | def test_parses_is_string_input_flag_from_arguments(self): method test_dump_all_validates_arguments (line 28) | def test_dump_all_validates_arguments(self): method test_dump_all (line 36) | def test_dump_all(self, mock_open, mock_api): method test_dump_from_base_validates_arguments (line 52) | def test_dump_from_base_validates_arguments(self): method test_dump_from_base (line 61) | def test_dump_from_base(self, mock_open, mock_api): method test_list_modules_without_errors_without_json_flag (line 75) | def test_list_modules_without_errors_without_json_flag(self, mock_api): method test_list_modules_without_errors_with_json_flag (line 96) | def test_list_modules_without_errors_with_json_flag(self, mock_open, m... method test_dump_exports_validates_arguments_without_json_flag (line 114) | def test_dump_exports_validates_arguments_without_json_flag(self): method test_dump_exports_validates_arguments_with_json_flag (line 124) | def test_dump_exports_validates_arguments_with_json_flag(self): method test_dump_exports_without_error (line 131) | def test_dump_exports_without_error(self, mock_api): method test_dump_exports_without_error_as_json (line 151) | def test_dump_exports_without_error_as_json(self, mock_open, mock_api): method test_find_pattern_validates_arguments (line 168) | def test_find_pattern_validates_arguments(self): method test_find_pattern_without_string_argument (line 175) | def test_find_pattern_without_string_argument(self, mock_api): method test_find_pattern_with_string_argument (line 188) | def test_find_pattern_with_string_argument(self, mock_api): method test_find_pattern_without_string_argument_with_offets_only (line 201) | def test_find_pattern_without_string_argument_with_offets_only(self, m... method test_replace_pattern_validates_arguments (line 215) | def test_replace_pattern_validates_arguments(self): method test_replace_pattern_without_string_argument (line 222) | def test_replace_pattern_without_string_argument(self, mock_api): method test_replace_pattern_with_string_argument (line 236) | def test_replace_pattern_with_string_argument(self, mock_api): method test_replace_pattern_without_string_argument_with_offets_only (line 250) | def test_replace_pattern_without_string_argument_with_offets_only(self... FILE: tests/commands/test_mobile_packages.py class TestMobilePackages (line 8) | class TestMobilePackages(unittest.TestCase): method test_patching_ios_ipa (line 14) | def test_patching_ios_ipa(self, mock_os, mock_shutil, mock_iospatcher,... method test_patching_android_apk (line 43) | def test_patching_android_apk(self, mock_input, mock_delegator, mock_o... FILE: tests/commands/test_plugin_manager.py class TestPluginManager (line 9) | class TestPluginManager(unittest.TestCase): method setUp (line 10) | def setUp(self): method test_load_plugin_validates_arguments (line 13) | def test_load_plugin_validates_arguments(self): method test_load_plugin_validates_plugin_init_exists (line 21) | def test_load_plugin_validates_plugin_init_exists(self, mock_exists): method test_load_plugin_loads_plugin (line 29) | def test_load_plugin_loads_plugin(self, mock_state_connection): FILE: tests/commands/test_ui.py class TestUI (line 10) | class TestUI(unittest.TestCase): method tearDown (line 11) | def tearDown(self): method test_alert_helper_method_proxy_calls_ios (line 15) | def test_alert_helper_method_proxy_calls_ios(self, mock_alert_ios): method test_alert_helper_method_proxy_calls_ios_custom_message (line 23) | def test_alert_helper_method_proxy_calls_ios_custom_message(self, mock... method test_alert_ios_helper_method (line 31) | def test_alert_ios_helper_method(self, mock_api): method test_ios_screenshot_validates_arguments (line 36) | def test_ios_screenshot_validates_arguments(self): method test_ios_screenshot (line 44) | def test_ios_screenshot(self, mock_open, mock_api): method test_dump_ios_ui (line 54) | def test_dump_ios_ui(self, mock_api): method test_bypass_touchid (line 63) | def test_bypass_touchid(self, mock_api): method test_android_screenshot_validates_arguments (line 68) | def test_android_screenshot_validates_arguments(self): method test_android_screenshot (line 76) | def test_android_screenshot(self, mock_open, mock_api): method test_android_flag_secure_validates_argument_as_boolean_string (line 85) | def test_android_flag_secure_validates_argument_as_boolean_string(self): method test_android_flag_secure_validates_argument_is_present (line 91) | def test_android_flag_secure_validates_argument_is_present(self): method test_android_flag_secure (line 98) | def test_android_flag_secure(self, mock_api): FILE: tests/console/test_cli.py class TestsCommandLineInteractions (line 10) | class TestsCommandLineInteractions(unittest.TestCase): method test_version (line 11) | def test_version(self): method test_patchapk_runs_with_minimal_cli_arguments (line 20) | def test_patchapk_runs_with_minimal_cli_arguments(self, _): method test_patchapk_runs_with_all_cli_arguments (line 28) | def test_patchapk_runs_with_all_cli_arguments(self, _): method test_patchapk_fails_and_wants_source (line 43) | def test_patchapk_fails_and_wants_source(self): method test_patchipa_runs_with_source_and_codesignature (line 51) | def test_patchipa_runs_with_source_and_codesignature(self, _): method test_patchipa_runs_with_all_cli_arguments (line 59) | def test_patchipa_runs_with_all_cli_arguments(self, _): method test_patchipa_fails_and_wants_source (line 72) | def test_patchipa_fails_and_wants_source(self): method test_patchipa_fails_and_wants_codesign_signature (line 79) | def test_patchipa_fails_and_wants_codesign_signature(self): FILE: tests/console/test_completer.py class TestConsoleCommandCompletion (line 8) | class TestConsoleCommandCompletion(unittest.TestCase): method setUp (line 9) | def setUp(self): method test_can_find_command_completion (line 12) | def test_can_find_command_completion(self): method test_will_have_empty_dict_for_invalid_command (line 20) | def test_will_have_empty_dict_for_invalid_command(self): FILE: tests/console/test_repl.py class TestRepl (line 9) | class TestRepl(unittest.TestCase): method setUp (line 10) | def setUp(self): method test_does_nothing_when_empty_command_is_passed (line 13) | def test_does_nothing_when_empty_command_is_passed(self): method test_does_nothing_when_only_spaces_as_command_is_passed (line 17) | def test_does_nothing_when_only_spaces_as_command_is_passed(self): method test_runs_os_command_when_prefixed_with_excalmation_mark (line 24) | def test_runs_os_command_when_prefixed_with_excalmation_mark(self, pat... method test_finds_help_when_prefixed_with_help_command (line 36) | def test_finds_help_when_prefixed_with_help_command(self): method test_fails_to_find_help_for_invalid_command (line 46) | def test_fails_to_find_help_for_invalid_command(self): method test_fails_when_invalid_command_is_passed (line 55) | def test_fails_when_invalid_command_is_passed(self): method test_is_able_to_find_an_executable_method_to_run_with_tokens_passed (line 62) | def test_is_able_to_find_an_executable_method_to_run_with_tokens_passe... method test_will_fail_to_find_exec_method_with_invalid_tokens (line 68) | def test_will_fail_to_find_exec_method_with_invalid_tokens(self): method test_is_able_to_locate_nested_helpfile_contents (line 74) | def test_is_able_to_locate_nested_helpfile_contents(self): method test_runs_commands_and_catches_exceptions (line 95) | def test_runs_commands_and_catches_exceptions(self, prompt, run_command): FILE: tests/data/plugin/__init__.py class VersionInfo (line 16) | class VersionInfo(Plugin): method __init__ (line 19) | def __init__(self, ns): method version (line 43) | def version(self, args: list): FILE: tests/helpers.py function capture (line 8) | def capture(command, *args, **kwargs): FILE: tests/state/test_app.py class TestApp (line 6) | class TestApp(unittest.TestCase): method tearDown (line 7) | def tearDown(self): method test_app_should_not_debug_hooks_by_default (line 11) | def test_app_should_not_debug_hooks_by_default(self): method test_app_should_debug_hooks_if_true (line 14) | def test_app_should_debug_hooks_if_true(self): method test_adds_command_to_history (line 19) | def test_adds_command_to_history(self): method test_clears_command_history (line 25) | def test_clears_command_history(self): FILE: tests/state/test_jobs.py class TestJobManager (line 6) | class TestJobManager(unittest.TestCase): method tearDown (line 7) | def tearDown(self): method test_job_manager_starts_with_empty_jobs (line 10) | def test_job_manager_starts_with_empty_jobs(self): method test_adds_jobs (line 13) | def test_adds_jobs(self): method test_removes_jobs (line 18) | def test_removes_jobs(self): FILE: tests/utils/patchers/test_android.py class TestAndroidGadget (line 8) | class TestAndroidGadget(unittest.TestCase): method setUp (line 11) | def setUp(self, github, mock_os): method test_sets_architecture (line 35) | def test_sets_architecture(self): method test_raises_exception_with_invalid_architecture (line 39) | def test_raises_exception_with_invalid_architecture(self): method test_sets_architecture_and_returns_context (line 43) | def test_sets_architecture_and_returns_context(self): method test_gets_architecture_when_set (line 47) | def test_gets_architecture_when_set(self): method test_gets_frida_library_path (line 53) | def test_gets_frida_library_path(self): method test_fails_to_get_frida_library_path_without_architecture (line 59) | def test_fails_to_get_frida_library_path_without_architecture(self): method test_checks_if_gadget_exists_if_it_really_exists (line 64) | def test_checks_if_gadget_exists_if_it_really_exists(self, mock_os): method test_checks_if_gadget_exists_if_it_really_does_not_exist (line 73) | def test_checks_if_gadget_exists_if_it_really_does_not_exist(self, moc... method test_check_if_gadget_exists_fails_without_architecture (line 81) | def test_check_if_gadget_exists_fails_without_architecture(self): method test_can_find_download_url_for_gadget (line 85) | def test_can_find_download_url_for_gadget(self): method test_throws_exception_when_download_url_could_not_be_determined (line 98) | def test_throws_exception_when_download_url_could_not_be_determined(se... class TestAndroidPatcher (line 110) | class TestAndroidPatcher(unittest.TestCase): method test_inits_patcher (line 114) | def test_inits_patcher(self, tempfile): method test_set_android_apk_source (line 130) | def test_set_android_apk_source(self, _, mock_os): FILE: tests/utils/patchers/test_base.py class TestBasePlatformGadget (line 8) | class TestBasePlatformGadget(unittest.TestCase): method setUp (line 10) | def setUp(self, mock_github): method test_sets_version_to_zero_if_no_local_record_is_found (line 14) | def test_sets_version_to_zero_if_no_local_record_is_found(self, mock_os): class TestBasePlatformPatcher (line 21) | class TestBasePlatformPatcher(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_inits_base_patcher (line 26) | def test_inits_base_patcher(self): method test_are_requirements_met_returns_true_if_met (line 33) | def test_are_requirements_met_returns_true_if_met(self): method test_are_requirements_met_returns_false_if_not_met (line 39) | def test_are_requirements_met_returns_false_if_not_met(self): method test_check_commands_finds_commands_and_sets_location (line 46) | def test_check_commands_finds_commands_and_sets_location(self, mock_sh... method test_check_commands_fails_to_find_command_and_displays_error (line 63) | def test_check_commands_fails_to_find_command_and_displays_error(self,... FILE: tests/utils/patchers/test_github.py class TestGithub (line 7) | class TestGithub(unittest.TestCase): method setUp (line 8) | def setUp(self): method test_makes_call_and_stores_result_in_cache (line 32) | def test_makes_call_and_stores_result_in_cache(self, mock_requests): method test_makes_call_and_stores_result_in_cache_and_fetches_next_from_cache (line 45) | def test_makes_call_and_stores_result_in_cache_and_fetches_next_from_c... method test_makes_call_and_gets_latest_version (line 67) | def test_makes_call_and_gets_latest_version(self, mock_requests): method test_makes_call_and_fails_to_get_assets (line 79) | def test_makes_call_and_fails_to_get_assets(self, mock_requests): method test_makes_call_and_gets_assets (line 90) | def test_makes_call_and_gets_assets(self, mock_requests): FILE: tests/utils/patchers/test_ios.py class TestIosGadget (line 7) | class TestIosGadget(unittest.TestCase): method setUp (line 10) | def setUp(self, mock_github, mock_os): method test_gets_gadget_path (line 34) | def test_gets_gadget_path(self): method test_checks_if_gadget_exists (line 42) | def test_checks_if_gadget_exists(self, mock_os): method test_can_find_asset_download_url (line 49) | def test_can_find_asset_download_url(self): class TestIosPatcher (line 61) | class TestIosPatcher(unittest.TestCase): method test_sets_provisioning_profile (line 65) | def test_sets_provisioning_profile(self): FILE: tests/utils/test_helpers.py class TestHelpers (line 13) | class TestHelpers(unittest.TestCase): method test_pretty_concat_with_less_than_seventy_five_chars (line 14) | def test_pretty_concat_with_less_than_seventy_five_chars(self): method test_pretty_concat_with_more_than_max_chars (line 19) | def test_pretty_concat_with_more_than_max_chars(self): method test_pretty_concat_with_more_than_max_chars_to_the_left (line 24) | def test_pretty_concat_with_more_than_max_chars_to_the_left(self): method test_sizeof_formats_values (line 29) | def test_sizeof_formats_values(self): method test_gets_tokens_without_quotes (line 34) | def test_gets_tokens_without_quotes(self): method test_gets_tokens_with_quotes (line 39) | def test_gets_tokens_with_quotes(self): method test_gets_tokens_and_handles_missing_quotes (line 44) | def test_gets_tokens_and_handles_missing_quotes(self): method test_cleans_argument_lists_with_flags (line 49) | def test_cleans_argument_lists_with_flags(self): method test_prints_frida_connection_help (line 53) | def test_prints_frida_connection_help(self):