Created
December 17, 2016 15:09
-
-
Save droidfivex/b153210c2ea0f6c44d0553babf601b35 to your computer and use it in GitHub Desktop.
work with rootkitxperia-20140719 on Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "--- Xperia rootkit 2014/07/19 ---" | |
echo "waiting for device..." | |
adb wait-for-device | |
for file in `ls files` | |
do | |
adb push files/$file /data/local/tmp/ | |
done | |
echo "getroot start." | |
adb shell "/data/local/tmp/getroot /data/local/tmp/install_tool.sh" | |
echo "waiting for device..." | |
adb wait-for-device | |
echo "removing temporary files..." | |
for file in `ls files` | |
do | |
adb shell "rm /data/local/temp/$file" | |
done | |
echo "--- all finished ---" | |
read wait |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment