Created
June 23, 2016 17:29
-
-
Save libcrack/f728a475c3f6079294bb819565e01a5b to your computer and use it in GitHub Desktop.
Frida.re binary gadgets download helper script
This file contains hidden or 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
| #!/usr/bin/env bash | |
| urls=" | |
| https://build.frida.re/frida/mac/lib/FridaGadget.dylib | |
| https://build.frida.re/frida/ios/lib/FridaGadget.dylib | |
| https://build.frida.re/frida/android/arm/lib/frida-gadget.so | |
| https://build.frida.re/frida/android/arm64/lib/frida-gadget.so | |
| https://build.frida.re/frida/android/arm64/lib/frida-gadget.so | |
| https://build.frida.re/frida/linux/i386/lib/frida-gadget.so | |
| https://build.frida.re/frida/linux/x86_64/lib/frida-gadget.so | |
| " | |
| outdir="frida-gadgets" | |
| test -d "${outdir}" || mkdir -p "${outdir}" | |
| for url in $urls; do | |
| out="${outdir}/$(echo -n ${url}|cut -f5- -d/)" | |
| test -d "$(dirname "${out}")" || mkdir -p "${_}" | |
| wget -k -L "${url}" -O "${out}" | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment