Last active
April 14, 2024 15:23
-
-
Save iddoeldor/09ff9a9e2c389158c6fa0b3de7d4809b to your computer and use it in GitHub Desktop.
one liner to download, push & run the latest frida server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 &" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#TODOs