Skip to content

Instantly share code, notes, and snippets.

@iddoeldor
Last active April 14, 2024 15:23
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save iddoeldor/09ff9a9e2c389158c6fa0b3de7d4809b to your computer and use it in GitHub Desktop.
Save iddoeldor/09ff9a9e2c389158c6fa0b3de7d4809b to your computer and use it in GitHub Desktop.
one liner to download, push & run the latest frida server
OS='android';PARCH=`adb shell getprop ro.product.cpu.abi`;\
curl -s https://api.github.com/repos/frida/frida/releases \
| jq '.[0] | .assets[] | select(.browser_download_url | match("server(.*?)'${OS}'-'${PARCH}'*\\.xz")).browser_download_url' \
| xargs wget -q --show-progress $1 \
&& unxz frida-server* \
&& adb root \
&& adb push frida-server* /data/local/tmp/ \
&& adb shell "chmod 755 /data/local/tmp/frida-server" \
&& adb shell "/data/local/tmp/frida-server &"
@iddoeldor
Copy link
Author

#TODOs

  • get processor architecture command line for iOS

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