forked from lollolong/dumper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.sh
24 lines (23 loc) · 779 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#/usr/bin/bash
if [ ! -f "frida-server" ]; then
wget https://github.com/frida/frida/releases/download/16.1.11/frida-server-16.1.11-android-x86_64.xz
unxz frida-server-16.1.11-android-x86_64.xz
mv frida-server-16.1.11-android-x86_64 frida-server
echo "frida-server installed"
else
echo "frida-server already exists"
fi
sleep 5
adb root
sleep 2
adb push frida-server /data/local/tmp/
sleep 2
adb shell chmod +x /data/local/tmp/frida-server
adb shell /data/local/tmp/frida-server &
sleep 2
adb shell am start -n com.android.chrome/com.google.android.apps.chrome.Main
sleep 2
adb shell am force-stop com.android.chrome
sleep 1
adb shell am start -a android.intent.action.VIEW -d https://bitmovin.com/demos/drm
python3 dump_keys.py --cdm-version '16.1.0'