Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sensepost/objection
/ functions
Functions
854 in github.com/sensepost/objection
⨍
Functions
854
◇
Types & classes
105
↳
Endpoints
145
↓ 115 callers
Function
capture
(command, *args, **kwargs)
tests/helpers.py:8
↓ 102 callers
Method
get_api
Return a Frida RPC API session :return:
objection/state/connection.py:63
↓ 62 callers
Function
wrapJavaPerform
(fn: any)
agent/src/android/lib/libjava.ts:19
↓ 36 callers
Method
addImplementation
(implementation: any)
agent/src/lib/jobs.ts:25
↓ 28 callers
Function
qsend
(quiet: boolean, message: any)
agent/src/lib/helpers.ts:28
↓ 27 callers
Method
attach
Attaches to an enumerated PID, injecting the objection agent. :return:
objection/utils/agent.py:276
↓ 25 callers
Method
addInvocation
(invocation: any)
agent/src/lib/jobs.ts:15
↓ 20 callers
Function
bytesToUTF8
(data: any)
agent/src/ios/lib/helpers.ts:98
↓ 19 callers
Function
clean_argument_flags
Returns a list of arguments with flags removed. Items are considered flags when they are prefixed with two dashes.
objection/utils/helpers.py:83
↓ 17 callers
Function
pwd
Return the current working directory. If a record exists in the filemanager state, that directory is returned. Else, an envi
objection/commands/filemanager.py:179
↓ 16 callers
Function
ansify
(color: number, ...msg: string[])
agent/src/lib/color.ts:7
↓ 16 callers
Method
run
Run the Agent by getting a device, setting the target pid and attaching. If we should skip pausing, also resume the process.
objection/utils/agent.py:374
↓ 13 callers
Function
arrayBufferToHex
(arrayBuffer: ArrayBuffer | null)
agent/src/ios/lib/helpers.ts:141
↓ 13 callers
Function
debug_print
Prints a message if the application is running with debugging enabled. :param message: :return:
objection/utils/helpers.py:10
↓ 9 callers
Function
_get_flag_value
Returns the value for a flag. :param args: :param flag: :return:
objection/commands/ios/keychain.py:48
↓ 9 callers
Function
_get_key_if_exists
Small helper to grab keys where some may or may not exist in the file attributes. :param attribs: :p
objection/commands/filemanager.py:286
↓ 9 callers
Method
get_frida_library_path
Get the path to a frida-library, both in the packed and :param packed: :return:
objection/utils/patchers/android.py:81
↓ 8 callers
Function
getApplicationContext
()
agent/src/android/lib/libjava.ts:31
↓ 8 callers
Method
set_architecture
Set the CPU architecture we will work with. :param architecture: :return:
objection/utils/patchers/android.py:56
↓ 8 callers
Function
sizeof_fmt
Pretty print bytes
objection/utils/helpers.py:47
↓ 7 callers
Function
_path_exists_ios
Checks an iOS device if a path exists. :param path: :return:
objection/commands/filemanager.py:155
↓ 7 callers
Function
log
(m: string)
agent/src/generic/http.ts:10
↓ 6 callers
Function
_path_exists_android
Checks an Android device if a path exists. :param path: :return:
objection/commands/filemanager.py:167
↓ 6 callers
Function
_should_output_json
Checks if --json is in the list of tokens received from the command line. :param args: :return:
objection/commands/memory.py:63
↓ 6 callers
Function
download
Downloads a file from a remote filesystem and stores it locally. This method is simply a proxy to the actual download method
objection/commands/filemanager.py:397
↓ 6 callers
Function
fsend
(ident: number, hook: string, message: any)
agent/src/lib/helpers.ts:35
↓ 6 callers
Function
getFileManager
()
agent/src/ios/filesystem.ts:20
↓ 6 callers
Function
get_tokens
Split the text line, shell-style. Sometimes we will have strings that don't have the last quotes added yet. In those cases,
objection/utils/helpers.py:59
↓ 6 callers
Function
pretty_concat
Limits a string to the maximum value of 'at_most', ending it off with 3 '.'s. If true is specified for the left parameter, th
objection/utils/helpers.py:23
↓ 6 callers
Function
upload
Uploads a local file to the remote operating system. This method is just a proxy method to the real upload method used based
objection/commands/filemanager.py:555
↓ 5 callers
Method
_call
Make a call to Github and cache the response. :param endpoint: :return:
objection/utils/patchers/github.py:23
↓ 5 callers
Method
_get_android_manifest
Get the AndroidManifest as a parsed ElementTree :return:
objection/utils/patchers/android.py:285
↓ 5 callers
Function
_is_apple_bundle
Check if a string bundle identifier is considered an Apple bundle based on the fact that the bundle name starts with the stri
objection/commands/ios/bundles.py:30
↓ 5 callers
Function
_should_output_json
Checks if --json is in the list of tokens received from the command line. :param args: :return:
objection/commands/ios/keychain.py:9
↓ 5 callers
Function
_string_is_true
Check if a string should be considered as "True" :param s: :return:
objection/commands/ios/hooking.py:99
↓ 5 callers
Method
addReplacement
(replacement: any)
agent/src/lib/jobs.ts:36
↓ 5 callers
Method
are_requirements_met
Checks if the command requirements have all been met. :return:
objection/utils/patchers/base.py:143
↓ 5 callers
Function
cleanup
Remove a cached SQLite db :param p: :return:
objection/commands/sqlite.py:32
↓ 5 callers
Method
gadget_exists
Checks if the iOS gadget exists on disk. :return:
objection/utils/patchers/ios.py:48
↓ 5 callers
Function
hexToString
(hexx: string)
agent/src/ios/lib/helpers.ts:158
↓ 5 callers
Method
inject
Injects the script sources in a new Frida session. :return:
objection/utils/plugin.py:77
↓ 5 callers
Function
list
(smartDecode: boolean = false)
agent/src/ios/keychain.ts:130
↓ 5 callers
Method
print
(message)
objection/utils/assets/javahookmanager.js:30
↓ 5 callers
Method
print
(message)
objection/utils/assets/objchookmanager.js:30
↓ 5 callers
Method
printVerbose
(message)
objection/utils/assets/javahookmanager.js:25
↓ 5 callers
Method
printVerbose
(message)
objection/utils/assets/objchookmanager.js:25
↓ 5 callers
Method
start
Starts the Flask-based API server after registering any extra blueprints that would typically have been sources f
objection/state/api.py:25
↓ 4 callers
Function
_data_flag_has_identifier
Checks that if the data flag is specified, an identifier is also passed. :param args: :return:
objection/commands/ios/keychain.py:33
↓ 4 callers
Method
_get_download_url
Determines the download URL to use for the iOS gadget. :return:
objection/utils/patchers/ios.py:83
↓ 4 callers
Function
_should_include_parent_methods
Checks if --include-parents exists in a list of tokens received from the commandline. :param args: :return:
objection/commands/ios/hooking.py:67
↓ 4 callers
Function
_should_print_full_path
Checks if arguments have the --full-path flag :param args: :return:
objection/commands/ios/bundles.py:19
↓ 4 callers
Method
add_job
Adds a job to the job state manager. :param new_job: :return:
objection/state/jobs.py:63
↓ 4 callers
Method
end
Revert hooks that the job created. :return:
objection/state/jobs.py:31
↓ 4 callers
Function
getInstance
(hashcode: number)
agent/src/android/heap.ts:16
↓ 4 callers
Function
get_agent
get_agent bootstraps an agent instance
objection/console/cli.py:19
↓ 4 callers
Method
get_agent
(self)
objection/state/connection.py:85
↓ 4 callers
Method
get_assets
Gets the assets for the currently selected gadget_version. :return:
objection/utils/patchers/github.py:56
↓ 4 callers
Method
get_patched_apk_path
Returns the path of the patched, aligned APK. :return:
objection/utils/patchers/android.py:382
↓ 4 callers
Function
resolvePointer
(pointer: string)
agent/src/ios/heap.ts:45
↓ 4 callers
Method
run_command
Process a command as received by prompt_toolkit. :param document: :return:
objection/console/repl.py:101
↓ 4 callers
Method
set_platform
Set's the device type :param t: :return:
objection/state/device.py:36
↓ 3 callers
Function
_class_is_prefixed_with_native
Check if a class name received is prefixed with one of the prefixes in the native_prefixes list. :param class_name:
objection/commands/ios/hooking.py:82
↓ 3 callers
Method
_find_command_exec_method
Attempt to find the actual python method to run for the command tokens we have. This is done by 'walking' the co
objection/console/repl.py:174
↓ 3 callers
Function
_get_short_android_listing
Get a shortened file and directory listing for Android devices. :return:
objection/commands/filemanager.py:804
↓ 3 callers
Function
_get_short_ios_listing
Get a shortened file and directory listing for iOS devices. :return:
objection/commands/filemanager.py:759
↓ 3 callers
Function
_is_pattern_or_constant
Check if a provided pattern matches "CLASS!METHOD" :param s: :return:
objection/commands/android/hooking.py:10
↓ 3 callers
Function
_is_string_input
Checks if --string is in the list of tokens received form the command line. :param args: :return:
objection/commands/memory.py:15
↓ 3 callers
Function
_should_be_quiet
Checks if --quiet is part of the commands arguments. :param args: :return:
objection/commands/ios/pinning.py:4
↓ 3 callers
Function
_should_do_smart_decode
Checks if --smart is in the list of tokens received from the command line. :param args: :return:
objection/commands/ios/keychain.py:21
↓ 3 callers
Function
_should_dump_args
Check if --dump-args is part of the arguments. :param args: :return:
objection/commands/ios/hooking.py:121
↓ 3 callers
Function
_should_dump_return_value
Check if --dump-return is part of the arguments. :param args: :return:
objection/commands/ios/hooking.py:132
↓ 3 callers
Function
_should_ignore_native_classes
Checks if --ignore-native is in a list of tokens received from the commandline. :param args: :return:
objection/commands/ios/hooking.py:52
↓ 3 callers
Function
_should_include_apple_bundles
Checks if arguments have the --include-apple-frameworks flag :param args: :return:
objection/commands/ios/bundles.py:8
↓ 3 callers
Function
_upload_ios
Upload a file to a remote iOS filesystem. :param path: :param destination: :return:
objection/commands/filemanager.py:581
↓ 3 callers
Method
exports
Returns the RPC exports exposed by the Frida agent :return:
objection/utils/agent.py:362
↓ 3 callers
Method
find_completions
Find tab completions from the commands repository. Completions are returned based on tokens extracted from the c
objection/console/completer.py:19
↓ 3 callers
Function
getPathForNSLocation
(NSPath: NSSearchPaths)
agent/src/generic/environment.ts:26
↓ 3 callers
Method
get_latest_version
Call Github and get the tag_name of the latest release. :return:
objection/utils/patchers/github.py:44
↓ 3 callers
Method
get_local_version
Check and return the local version of the FridaGadget type we have. :return:
objection/utils/patchers/base.py:41
↓ 3 callers
Method
get_patched_ipa_path
Returns the path where the final patched IPA would be. :return:
objection/utils/patchers/ios.py:441
↓ 3 callers
Function
isClassNotFoundError
(err: unknown)
agent/src/android/hooking.ts:27
↓ 3 callers
Function
javaEnumerate
(query: string)
agent/src/android/hooking.ts:124
↓ 3 callers
Function
ls
Get a directory listing for a path on a device. If no path is provided, the current working directory is used. :param args:
objection/commands/filemanager.py:247
↓ 3 callers
Function
path_exists
Checks if a path exists on remote device. :param path: :return:
objection/commands/filemanager.py:140
↓ 3 callers
Method
remove_job
Removes a job from the job state manager. :param job_uuid: :return Job:
objection/state/jobs.py:75
↓ 3 callers
Method
run
Start the objection repl.
objection/console/repl.py:345
↓ 3 callers
Method
set_agent
Sets the active agent to use for communications. :param agent: :return:
objection/state/connection.py:75
↓ 3 callers
Method
set_apk_source
Set the source APK to work with. :param source: :return:
objection/utils/patchers/android.py:270
↓ 3 callers
Method
should_debug
Checks if debugging is enabled :return:
objection/state/app.py:41
↓ 3 callers
Function
smartDataToString
(raw: any)
agent/src/ios/lib/helpers.ts:54
↓ 3 callers
Function
watchMethod
( fqClazz: string, job: jobs.Job, dargs: boolean, dbt: boolean, dret: boolean, )
agent/src/android/hooking.ts:342
↓ 2 callers
Function
_alert_ios
Display an alert on iOS :param message: :return:
objection/commands/ui.py:28
↓ 2 callers
Method
_check_commands
Check if the shell commands in required_commands are available. :return:
objection/utils/patchers/base.py:121
↓ 2 callers
Method
_cleanup_extracted_data
Small helper method to cleanup temporary files created when an older IPA was extracted. :return:
objection/utils/patchers/ios.py:493
↓ 2 callers
Function
_download_android
Download a file from the Android filesystem and store it locally. :param path: :param destination: :return:
objection/commands/filemanager.py:492
↓ 2 callers
Function
_download_ios
Download a file from an iOS filesystem and store it locally. :param path: :param destination: :return:
objection/commands/filemanager.py:428
↓ 2 callers
Method
_find_command_help
Attempt to find help for a command. Just like how the _find_command_exec_method works, this method also walks th
objection/console/repl.py:229
↓ 2 callers
Method
_get_agent_source
Loads the frida-compiled agent from disk. :return:
objection/utils/agent.py:143
↓ 2 callers
Method
_get_appt_output
Get the output of `aapt dump badging`. :return:
objection/utils/patchers/android.py:305
↓ 2 callers
Function
_get_chunks
Determine chunks of :param addr: :param size: :param block_size: :return:
objection/commands/memory.py:74
next →
1–100 of 854, ranked by callers