about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2024-03-15 12:57:50 +0700
committerGitHub <noreply@github.com>2024-03-15 12:57:50 +0700
commit59465bd249b318428d108ff64e4e00b6750ad2ca (patch)
treee600df631ffaed766d617c32b18017fee3d97067
parenta96bda82f9f5756995e4cfa9886fcc2a31b2819d (diff)
parented50f37c79e08a79df209a2869df6b20bbb106e1 (diff)
downloadafl++-59465bd249b318428d108ff64e4e00b6750ad2ca.tar.gz
Merge pull request #2035 from Resery/patch-6
bugfix: update_firda_version can't get the newest version of frida
-rwxr-xr-xfrida_mode/update_frida_version.sh2
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