Skip to content

Instantly share code, notes, and snippets.

@interference-security
Created November 27, 2023 07:21
Show Gist options
  • Select an option

  • Save interference-security/7803211507c5899ebafe326aa9ac1008 to your computer and use it in GitHub Desktop.

Select an option

Save interference-security/7803211507c5899ebafe326aa9ac1008 to your computer and use it in GitHub Desktop.

Revisions

  1. interference-security created this gist Nov 27, 2023.
    71 changes: 71 additions & 0 deletions frida-tools-termux.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,71 @@
    # frida-tools-termux
    ### Source: https://github.com/middle1/frida-tools-termux/blob/main/README.md

    ## Installation Steps

    1. Update the packages on your device:

    ```bash
    pkg update -y && pkg upgrade -y
    ```

    2. Install wget and git:

    ```bash
    pkg install wget git -y
    ```

    3. Go to the official Frida GitHub website: [https://github.com/frida/frida/releases](https://github.com/frida/frida/releases)

    4. Copy the link to the archive with the latest version of Frida core devtools for your device. To determine the architecture of your processor, run the command `uname -m` or `arch`.

    5. Enter the following command in the console to download the archive:

    ```bash
    wget <archive_link>
    ```

    6. Create a folder to store the Frida files:

    ```bash
    mkdir frida-core
    ```

    7. Move the downloaded archive to this folder:

    ```bash
    mv <archive_name> frida-core
    ```

    8. Navigate to the `frida-core` folder:

    ```bash
    cd frida-core
    ```

    9. Unpack the archive:

    ```bash
    tar -xf <archive_name>
    ```

    10. Set the `FRIDA_CORE_DEVKIT` variable by specifying the full path to the `frida-core` folder. To find out the current path, run the command `pwd`.

    ```bash
    export FRIDA_CORE_DEVKIT=/full/path/to/folder
    ```

    11. To save the variable, add it to the `.bashrc` file and run the command `source ~/.bashrc`:

    ```bash
    echo "export FRIDA_CORE_DEVKIT=/full/path/to/folder" >> ~/.bashrc
    source ~/.bashrc
    ```

    12. Install frida and frida-tools using pip3:

    ```bash
    pip3 install frida frida-tools
    ```

    You have successfully installed Frida in termux. You can now use it for application development and analysis.