dpnishant / appmon

Documentation:
http://dpnishant.github.io/appmon
Apache License 2.0
1.55k stars 275 forks source link

wget regex to download gadget libs is not working #129

Open gam04 opened 1 year ago

gam04 commented 1 year ago

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 commented 1 year ago

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?