Skip to content

Instantly share code, notes, and snippets.

@interference-security
Created November 27, 2023 07:21
Show Gist options
  • Save interference-security/7803211507c5899ebafe326aa9ac1008 to your computer and use it in GitHub Desktop.
Save interference-security/7803211507c5899ebafe326aa9ac1008 to your computer and use it in GitHub Desktop.

frida-tools-termux

Installation Steps

  1. Update the packages on your device:

    pkg update -y && pkg upgrade -y
  2. Install wget and git:

    pkg install wget git -y
  3. Go to the official Frida GitHub website: 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:

    wget <archive_link>
  6. Create a folder to store the Frida files:

    mkdir frida-core
  7. Move the downloaded archive to this folder:

    mv <archive_name> frida-core
  8. Navigate to the frida-core folder:

    cd frida-core
  9. Unpack the archive:

    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.

    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:

    echo "export FRIDA_CORE_DEVKIT=/full/path/to/folder" >> ~/.bashrc
    source ~/.bashrc
  12. Install frida and frida-tools using pip3:

    pip3 install frida frida-tools

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment