Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wget regex to download gadget libs is not working #129

Open
gam04 opened this issue Sep 25, 2022 · 1 comment
Open

wget regex to download gadget libs is not working #129

gam04 opened this issue Sep 25, 2022 · 1 comment

Comments

@gam04
Copy link

gam04 commented Sep 25, 2022

I guess properly URI to download the assets must be https://github.com/frida/frida/releases/expanded_assets/{version}

The current URI in the code is https://github.com/frida/frida/releases/latest but that needs some logic (JS, user interaction) to show all assets.

@ret2eax
Copy link

ret2eax commented Feb 28, 2023

As @gam04 mentioned, this is still not working. See below;

wget -qO - https://api.github.com/repos/frida/frida/releases/latest | grep -o "\/frida\/frida\/releases\/download\/.*\/frida-gadget-.*-android-.*\.so\.xz" | sed 's/\/frida\/frida/https:\/\/github\.com\/frida\/frida/g' | sed 's/%0A/\n/g' > list.txt

dyld[44984]: Library not loaded: /usr/local/opt/libunistring/lib/libunistring.2.dylib
  Referenced from: <625C6D78-F36C-3CC5-9F03-582F53C52515> /usr/local/Cellar/wget/1.21/bin/wget
  Reason: tried: '/usr/local/opt/libunistring/lib/libunistring.2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/libunistring/lib/libunistring.2.dylib' (no such file), '/usr/local/opt/libunistring/lib/libunistring.2.dylib' (no such file), '/usr/local/lib/libunistring.2.dylib' (no such file), '/usr/lib/libunistring.2.dylib' (no such file, not in dyld cache), '/usr/local/Cellar/libunistring/1.1/lib/libunistring.2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/libunistring/1.1/lib/libunistring.2.dylib' (no such file), '/usr/local/Cellar/libunistring/1.1/lib/libunistring.2.dylib' (no such file), '/usr/local/lib/libunistring.2.dylib' (no such file), '/usr/lib/libunistring.2.dylib' (no such file, not in dyld cache)
[5]    44984 abort      wget -qO - https://api.github.com/repos/frida/frida/releases/latest |
       44985 exit 1     grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox} -o  |
       44986 done       sed 's/\/frida\/frida/https:\/\/github\.com\/frida\/frida/g' |
       44987 done       sed 's/%0A/\n/g' > list.txt

What's the recommendation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants