LogoLogo
  • About Me
  • Notes
    • Android Pentesting
      • First Android App
      • ADB
      • The INTERNET Permission
      • Installing Certificate in User Store
      • Installing system certificates
      • Install system certificates on android 14
      • apktool (for patching and decompiling)
      • Advanced Network interception using VPN
      • DNS Spoofing and Transparent Proxy
      • HTTP Mock
      • APK
      • Static analysis
        • Getting APK from a Device
      • Case Study: A Weather App
      • Frida & Objection
      • Frida Scripts
        • Tracing Activities
        • Tracing Fragments
      • Frida Trace
      • SSL Validation Bypasses
Powered by GitBook
On this page

Was this helpful?

  1. Notes
  2. Android Pentesting
  3. Frida Scripts

Tracing Fragments

  • Same as Tracing Activities just change the package name to use

Java.perform(() => {
    let fragmentclass = Java.use("androidx.fragment.app.Fragment");
    fragmentclass.onResume.implementation = function(){
        console.log("Fragment resumed: " + this.getClass().getName());
        this.onResume();
    }
})

PreviousTracing ActivitiesNextFrida Trace

Last updated 2 days ago

Was this helpful?