Commit Graph
144 Commits
Author SHA1 Message Date
Tim Perry 4d52126c63 Widen the testing API version range further 2025-07-08 16:12:49 +02:00
Tim Perry 51715cd4b6 Tighten up tests's "wait for app" check further 2025-07-08 16:12:49 +02:00
Tim Perry 69e6622952 Increase test's default button response timeout 2025-07-08 16:12:49 +02:00
Tim Perry f6adff234d Improve test app-loaded check 2025-07-08 16:12:48 +02:00
Tim Perry 9dd42f3a61 Improve Mockttp test logging 2025-07-08 16:12:48 +02:00
Tim Perry 44cad4f7a6 Refactor & simplify CI testing approach
Don't bother trying to count individual TLS errors & requests - it's
fragile (e.g. webview favicons, CT refreshes), messy & unnecessary. We
focus on red/green buttons and that's enough.
2025-07-08 16:12:47 +02:00
Tim Perry 8fe643f69c Reduce flakiness of CI tests 2025-07-08 16:12:47 +02:00
Tim Perry 029569835e If webview buttons in tests don't respond, click again 2025-07-08 16:12:47 +02:00
Tim Perry 290a7d7520 Tidy up some test setup 2025-07-08 16:12:46 +02:00
Tim Perry 936e3761f3 Set options to try to avoid CI test system UI crashes 2025-07-08 16:12:46 +02:00
Tim Perry 1065a613a9 Add hierarchy logging to test failures 2025-07-08 16:12:40 +02:00
Tim Perry 88ac21a3d5 Disable fast-fail to further debug test failures 2025-07-08 10:59:44 +02:00
Tim Perry d55979f5a4 Make the tests cover all the API versions, to see where we are 2025-07-04 10:29:30 +02:00
Tim Perry 7722e20adc Use a large screen test device in CI
Previously not all buttons were being detected by Appium - I strongly
suspect that's becuase the default profile is some tiny phone.

Also added another API test level (just to confirm) and switched arch
because it turns out modern API levels don't support x86, only _64.
2025-07-04 10:02:41 +02:00
Tim Perry bb0356ac34 Build out a complete set of automated Android tests 2025-07-03 20:30:22 +02:00
Tim Perry 1e9aa02640 Run a minimal test in CI 2025-07-03 20:26:40 +02:00
Tim PerryandTim Perry 8902cfd399 Try setting up an emulator in CI 2025-07-03 20:26:39 +02:00
Tim PerryandGitHub a07671fbe9 Merge pull request #146 from acomerlatto/main
feat(native-connect-hook): enhance support for system connection hooks
2025-07-03 15:27:41 +02:00
Alisson Comerlatto 09cd59b728 feat(native-connect-hook): enhance support for system connection hooks
- Declare system module as a constant.
- Add `conn` variable for cleaner `Interceptor.attach` initialization.
- Improve error handling.
2025-07-03 10:14:24 -03:00
Tim PerryandGitHub 426bd4e2ab Merge pull request #145 from acomerlatto/main
fix(native-connect-hook): adjust scope of `systemModule` declaration
2025-07-03 14:01:23 +02:00
Alisson Comerlatto ad465d0044 fix(native-connect-hook): adjust scope of systemModule declaration
- Move `systemModule` declaration outside `try` block for proper scope management.
2025-07-02 17:30:59 -03:00
Tim Perry ae338c5bcd Add SOCKS support to native-connect hook 2025-06-27 18:00:17 +02:00
Tim Perry bcbe288aa2 Add functionality to block HTTP/3 by default 2025-06-24 17:43:09 +02:00
Tim Perry 33c9febf1b Add a fallback hook for meta proxygen unpinning 2025-06-24 16:31:15 +02:00
Tim Perry 4c2019597e Expand scripts included in standard build output 2025-06-24 12:40:32 +00:00
Tim Perry 6922444bf2 Make anti-root detection resilient to odd packages 2025-06-24 14:34:43 +02:00
Tim Perry 34c74c1505 Tighten up 'su' file IO detection on Android anti-root detection
Previously this blocked all reads of any paths containing 'su', which
has a lot of false positives (e.g. .../support-file) that will very
plausibly cause problems.
2025-06-24 14:34:43 +02:00
Tim PerryandGitHub 7eca72577a Merge pull request #143 from sinnet3000/fix/typo
fix: Correct README script path for android-disable-root-detection.js
2025-06-23 14:02:34 +02:00
Luis Colunga 0b650ec11a docs(readme): fix typo in script path for android-disable-root-detection.js 2025-06-22 11:01:03 -07:00
Tim Perry 3858ba270f Fix root-detection java.io.File case 2025-06-20 19:08:39 +02:00
Tim Perry f6c05206c6 Fix config module utils for Frida 17 2025-06-20 18:40:32 +02:00
Tim Perry 4b4744ca0b Update new no-root-detection script to Frida 17 too 2025-06-20 18:28:06 +02:00
Tim PerryandGitHub 362ea92dfb Merge pull request #140 from kaifcodec/main
fix: update deprecated Module.* APIs for Frida v17
2025-06-20 18:20:32 +02:00
Tim Perry aacc1579cb Update native TLS & iOS hooks to Frida 17 too 2025-06-20 16:59:52 +02:00
Tim Perry c5dcc8acd6 Fix connect module fallback (get* throws an error, find* returns null) 2025-06-20 16:46:23 +02:00
Tim PerryandGitHub b4f9c2786c Merge pull request #141 from riyadmondol2006/main
Add Android root detection bypass script from external repository
2025-06-20 16:22:22 +02:00
Tim Perry 1385cf7e89 Fix GHA actions config 2025-06-20 16:19:40 +02:00
Tim Perry 2c440d3775 Document the root bypass script 2025-06-20 16:15:53 +02:00
Tim Perry f41596752d Match Android fingerprint where possible while hiding root 2025-06-20 16:15:52 +02:00
Tim Perry 318725026a Make Android root detection match our other logs 2025-06-20 16:12:25 +02:00
Riyad MondolandGitHub 7a50ac4691 Update README.md 2025-06-14 05:11:03 +06:00
Riyad MondolandGitHub da710353fe Add files via upload 2025-06-14 05:08:26 +06:00
Riyad MondolandGitHub fa10ac6f9b Delete root_detection_bypass.js 2025-06-14 05:08:12 +06:00
Riyad MondolandGitHub d6429b7ac7 Add files via upload
Added root detection bypass
2025-06-14 05:04:12 +06:00
kaifcodec eac9e21444 fix: update deprecated Module.* APIs for Frida v17 2025-06-11 21:32:20 +05:30
Tim Perry 185e91f62d Add a script to disable iOS jailbreak detection (WIP) 2024-07-16 18:18:29 +02:00
Tim Perry 5b0fd454b9 Fix parallel TLS hook issue
It's unclear why, but in some scenarios the hook would reliably hit a
null pointer within the native realCallback() call if the call is made
while another is already in progress (even though without Frida that's
presumably happening just fine, and they're different cb pointers etc
etc).

We could use Frida's exclusive scheduling to fix this, but that raises
the risk of a deadlock here a bit in, so instead we do a very simple
locking setup with a polling unlock. Very quick & rough but works
nicely, and allows reentrant locks in a single thread in case some apps
use SSL to verify SSL somehow. Hard to imagine a cross-thread deadlock
here so hopefully that'll be sufficient...
2024-06-17 15:39:34 +02:00
Tim Perry e99740babb Fix native TLS hook null-callback handler 2024-06-17 15:38:09 +02:00
Tim Perry eb4720f1d4 Include iOS support in the native connect hook 2024-06-14 18:18:04 +02:00
Tim Perry 8ca3cb5b94 Handle null TLS callback in native-tls-hook
This doesn't seem to be widely used, but it can come up, and it's easy
enough for us to handle correctly.
2024-06-14 17:30:59 +02:00