# Frida Usage

<figure><img src="/files/wpQXFWt1mUFp2B5hm3Dx" alt=""><figcaption></figcaption></figure>

| Commands                 | Executable                                                       |
| ------------------------ | ---------------------------------------------------------------- |
| <p>frida-ps -Ua          |                                                                  |
| <br>frida-ps -Uai</p>    | Get a list of active and installed applications via **frida-ps** |
| frida-trace -i "open" -U | Use frida-trace to trace the app                                 |

***

## Frida CodeShare

### Install .apk

Install the app on your connected Android device:

```
abd install –r [filename].apk
```

> Be configurated burp previusly

### Weak up Frida Server

```
adb root
adb shell "/data/local/tmp/frida-server &"
```

> If u us MAGISK, it isnt necesary

### Bypass SSL pinning via the CodeShare script:

{% embed url="<https://codeshare.frida.re/@akabe1/frida-multiple-unpinning/>" %}

```
frida-ps -Ua
frida --codeshare akabe1/frida-multiple-unpinning -U -p [pid]
```

## Others Frida Scripts

{% embed url="<https://codeshare.frida.re/>" %}

<figure><img src="/files/E95yNPA8VUzwZu4YGfGr" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://eldeim.gitbook.io/brain_fuck/notes/certifications/eastereggs/mobile-hacking-lab/capt-android-penetration-tester/android-penetration-tester/frida-usage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
