114 Commits
Author SHA1 Message Date
Megladon d9d50c206d (fix) update tests and minor bugfixes (#784)
* (fix) update tests

* (fix) Fixed bug with code dynamic+flag code completion.

* (fix) Fixed issue with `os.path.isabs` on Windows.

* Updated makefile for tests.
2026-07-23 15:40:22 +02:00
MegladonandCarlos Holguera 228c5e3399 (feat) Add local connection option for iOS simulator. (#795)
* (feat) --local connection option for iOS simulator.
* (feat) determine platform using available bridge.


---------

Co-authored-by: Carlos Holguera <[email protected]>
2026-04-12 20:32:50 +02:00
Megladon d32c1df114 (fix) Few bugfixes and QoL changes.
* (feat) Attempt attach using identifier.

* (feat) Job handler fixes, and additional error detection.

* (fix) Compatibility with Apktool 2.12.0 and fix passing cli args.
2025-10-30 08:25:18 +02:00
Lehasa Seoe 954ce3c65e Added Detection and Analysis of Android Implicit Intents (#714)
* Added functionality to analyse detect and analyse implicit intents

* Included Jobs into the Implicit Intent Analyser
2025-03-20 15:30:04 +02:00
Megladon d98323470b (feat) Added memory replace command. (#656)
* (feat) Added memory replace command.

* refactor duplicate code.
2024-05-23 23:15:14 +02:00
Leon Jacobs 0ce114555a (chore) style fixes, minor tweaks and remove old tests 2022-02-13 14:41:06 +02:00
Leon Jacobs 0b6413877c (chore) style fixes, tweaks and remove some tests 2022-02-13 12:14:14 +02:00
Leon Jacobs 865fb7dbe4 (feat/wip) refactor spawning logic to support early instrumentation
this commit contains many changes. the most important of which
is a completely rewritten Agent class, improving support for
early instrumentation.

pre this commit, because we we're injecting the frida gadget in
target applications, we expected communications to occur over
a tcp socket. as far back as frida 12.7+ support injecting the
frida-server into applications that are debuggable vastly
simplifies this process in jailed environments. as such, we can
use normal "usb" comms, and thereby more closely follow the
same logic as found in frida-* tools.

a small changelog for all the changes:

- remove the get_device_info() call that relied on frida scripts
  to get information about the platform. instead we're now using
  device.query_system_parameters()
- replace the old `explore` command with a new `start` command
- support spawning new applications
- support attaching to the frontmost application
- support enabling the node debug port, accessible via the chrome
  debugger
- support immediately resuming apps
- replace os with pathlib in some places
- remove the `objection device_type` command
- add the `resume` repl command to resume apps
- add a prompt token to show the current process state (pause/run)

no tests were fixed, so expect most of them to fail :P

related issues: #473, #474
2021-10-25 20:17:53 +02:00
Leon Jacobs ffac8c3468 (test) fix path tests 2021-10-24 15:12:37 +02:00
Leon Jacobs 154e3758d0 (test) fix test_gets_frida_environment 2021-10-24 15:12:37 +02:00
Leon Jacobs 61bb2f8047 (chore) fix tests 2021-05-18 10:40:22 +02:00
Leon Jacobs bb33bce3ca (fix) extract and set bundleid & update applesign usage
For free accounts, the bundleid needs to be set.
(see: nowsecure/node-applesign#113). A hecky fix to shell out and
grep that out of the mobile provision is added. It can also be
manually set to something else with the `--bundle-id` flags.

Fixes #434
2021-04-06 09:58:34 +02:00
Jeroen Beckers 8abb553a1d Added warnings for loaded classes (#403)
* Added warnings for loaded classes

* Fix unittests
2021-02-17 14:23:42 +02:00
Leon Jacobs deac168332 Remove broken update checker tests.
The logic has been significantly refactored now.
2020-08-13 12:25:44 +02:00
Leon Jacobs 4dadfc4978 Refactor the ios keychain add command.
This commit removes the --key flag and adds the --account and
--service flags.

Fixes #350
2020-04-07 13:55:16 +02:00
Leon Jacobs 87029aa03c Fix test_patching_ios_ipa test. 2020-03-19 16:36:26 +02:00
Leon Jacobs 4cfacc46c6 Add ability to target specific overloads.
This is a reimplementation of the original PR as discussed in #239
2019-10-18 21:56:46 -05:00
Leon Jacobs 24c0e8effb Replace sqlite tooling with LiteCLI [1]
[1] https://github.com/dbcli/litecli
2019-10-18 10:34:32 -05:00
Leon Jacobs 5c6f152be3 Add the ios keychain dump_raw command.
This commit also refactors some of the iOS keychain dumping
logic to reduce code duplication that would be needed for
the new command.
2019-10-16 18:53:06 -05:00
Leon Jacobs 1c47460fb3 Fix tests. 2019-07-30 08:10:00 +02:00
Leon Jacobs d85fa1586c Refactor android heap instance searching to match iOS usage. 2019-07-30 08:10:00 +02:00
Leon Jacobs 09ecc5c11c Fix tests. 2019-06-21 15:15:14 +02:00
Leon Jacobs 6c7f1f20e2 Improve iOS keychain data decoding.
This commit makes smart decoding optional, adding the --smart
flag to the ios keychain dump command. Data will be decoded as
UTF8 strings by default now.

Fixes #230 and #238.
2019-06-07 21:25:53 +02:00
Leon Jacobs 57834a4c1c Add ability to target a specific class for patching. 2019-05-10 09:06:25 +02:00
Leon Jacobs f78301d12e Add the ability to enumerate iOS Framework's and versions. 2019-04-12 13:39:39 +02:00
Leon Jacobs fa6a8b8f9b Add ability to get the currently active Android activity. 2019-04-04 08:08:14 +02:00
Leon Jacobs 4df9391e19 Fix json dump location parsing and update tests. 2019-04-02 08:31:14 +02:00
Ian Guile 851d540bc7 minor refactoring for better readability (#216) 2019-04-02 07:05:02 +02:00
Leon Jacobs e3df6854eb Add the ability to delete files on an Android filesystem. 2019-03-29 11:10:37 +02:00
Leon Jacobs 87065988cd Add tests and some inline documentation for plugins. 2019-03-28 09:02:24 +02:00
Leon Jacobs 3475179cb0 Fix cyclic dependency with the command registry and some typos. 2019-03-28 08:20:12 +02:00
Leon Jacobs 57017fb31e Various plugin loader improvements.
This commit adds a few improvements after landing #214. Those are:
- Allow for the REPL to complete loading in case of a plugin
loading error.
- Tweak Fridascript discovery, allowing for a script to be
strictly specified, read from a file, or discovered next to the
plugin file as index.js.
- Add debug information to aid in plugin development.
- Allow for custom handlers for the 'message' signal.
- Add an example plugin to use in unit testing later.
2019-03-27 21:18:12 +02:00
Leon Jacobs 8109a8b722 Update method Android method search test to use real return value. 2019-03-27 15:54:43 +02:00
Leon Jacobs 9487143f41 Add the Android method searching command. 2019-03-27 15:49:48 +02:00
Leon Jacobs 2989f47988 Add live inspection of Java Objects. 2019-03-27 12:11:16 +02:00
Leon Jacobs 903739cd8c Report the Frida runtime with the frida command. 2019-03-27 09:52:51 +02:00
Leon Jacobs 3f39dabc49 Confirm before clearing keystore/keychain. 2019-03-26 15:57:52 +02:00
Leon Jacobs dbb83ed16b Visual improvements to the memory searcher.
This commit introduces the --offsets-only which controls the
output produced by the memory search command. Without the new
flag, small hexdumps of matched memory regions would be displayed.
2019-03-22 09:51:49 +02:00
Leon Jacobs 0f784eabd4 Use platform specific paths to join directories.
Fixes #200
2019-03-18 18:57:53 +02:00
Leon Jacobs 67cb9b576e Skip entire class if the agent is not available. 2019-02-25 20:31:56 +02:00
Leon Jacobs 5a54d50dbb Conditionally skip tests if compiled agent is not available. 2019-02-25 20:16:52 +02:00
Leon Jacobs 52cc5b7eac Start testing the Agent loader class. 2019-02-25 20:02:34 +02:00
Leon Jacobs 7af3f4aa8c Fix typos 🙈 2019-02-25 08:09:43 +02:00
Leon Jacobs 7111ecc603 Small code style fixes. 2019-02-25 07:55:29 +02:00
Leon Jacobs 4671941c8d Upgrade to prompt-toolkit 2.x 2019-01-28 20:14:59 +02:00
Leon Jacobs 37c6beb8d8 Fix reconnect/reset commands. 2019-01-24 21:32:39 +02:00
Leon Jacobs 203b6b5ca3 Fix failing tests after RPC rename. 2019-01-24 16:13:22 +02:00
Leon Jacobs 1ab2d0d0c5 Remove old hooks. 2019-01-24 14:37:54 +02:00
Leon Jacobs 819994349e Fix tests. 2019-01-24 14:26:25 +02:00
Leon Jacobs a834048a29 Cleanup the older FridaAgent class. 2019-01-24 12:39:21 +02:00