diff options
author | Resery <50428593+Resery@users.noreply.github.com> | 2024-03-15 12:03:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-15 12:03:01 +0800 |
commit | ed50f37c79e08a79df209a2869df6b20bbb106e1 (patch) | |
tree | 9dd56aafbf84bd631c483b7b50c1853c97a9db9c | |
parent | 775861ea94d00672c9e868db329073afd699b994 (diff) | |
download | afl++-ed50f37c79e08a79df209a2869df6b20bbb106e1.tar.gz |
bugfix: update_firda_version can't get the newest version of frida
The method of getting the newest version of Frida is invalid. Need update.
-rwxr-xr-x | frida_mode/update_frida_version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frida_mode/update_frida_version.sh b/frida_mode/update_frida_version.sh index 18243fbb..2fafbf2f 100755 --- a/frida_mode/update_frida_version.sh +++ b/frida_mode/update_frida_version.sh @@ -2,7 +2,7 @@ test -n "$1" && { echo This script has no options. It updates the referenced Frida version in GNUmakefile to the most current one. ; exit 1 ; } OLD=$(grep -E '^GUM_DEVKIT_VERSION=' GNUmakefile 2>/dev/null|awk -F= '{print$2}') -NEW=$(curl https://github.com/frida/frida/releases/ 2>/dev/null|grep -E 'frida-gum-devkit-[0-9.]*-linux-x86_64'|head -n 1|sed 's/.*frida-gum-devkit-//'|sed 's/-linux.*//') +NEW=$(curl https://github.com/frida/frida/releases/ 2>/dev/null|grep 'Frida\ [0-9.]*'|head -n 1|sed 's/.*Frida\ //'| sed 's/<\/h2>//') echo Current set version: $OLD echo Newest available version: $NEW |