Color_Off='\e[0m'       # Text Reset
BIPurple='\e[1;95m'     # Purple
BICyan='\e[1;96m'       # Cyan

GL="com.tencent.ig" #pkg
KR="com.pubg.krmobile" #pkg
TW="com.rekoo.pubgm" #pkg
VT="com.vng.pubgmobile" #pkg

tt="
"
#next line
PS3=(" QQ@694816648 $tt $tt 点击右下角的Im 选择对应数字以重置游客: ")
echo -e "${BICyan}"
options=("国际服" "日韩服" "台湾服" "越南服" "退出")
select opt in "${options[@]}"
do
    case $opt in
        "Global")
        
iptables -I OUTPUT -d cloud.vmp.onezapp.com -j REJECT
iptables -I INPUT -s cloud.vmp.onezapp.com -j REJECT

rm -rf /data/data/$GL/shared_prefs
mkdir /data/data/$GL/shared_prefs
chmod 777 /data/data/$GL/shared_prefs
rm -rf /data/data/$GL/shared_prefs/device_id.xml
echo "<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
    <string name=\"random\"></string>
    <string name=\"install\"></string>
    <string name=\"uuid\">$RANDOM$RANDOM-$RANDOM-$RANDOM-$RANDOM-$RANDOM$RANDOM$RANDOM</string>
</map>" > /data/data/$GL/shared_prefs/device_id.xml
rm -rf /data/data/$GL/databases
rm -rf /data/media/0/Android/data/$GL/files/login-identifier.txt
rm -rf /data/media/0/Android/data/$GL/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate
touch /data/media/0/Android/data/$GL/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate
rm -rf /data/media/0/Android/data/$GL/files/TGPA
touch /data/media/0/Android/data/$GL/files/TGPA
rm -rf /data/media/0/Android/data/$GL/files/ProgramBinaryCache
touch /data/media/0/Android/data/$GL/files/ProgramBinaryCache
chmod -R 000 /data/data/$GL/files/ano_tmp/ano.ano3.dat
clear
echo -e "${BIPurple}"
sleep 0.5
echo "Done"
echo "❤️🧡💛💚💙💜🤎🖤🤍"
sleep 1
exit

            ;;
        "Korea")
iptables -I OUTPUT -d cloud.vmp.onezapp.com -j REJECT
iptables -I INPUT -s cloud.vmp.onezapp.com -j REJECT

rm -rf /data/data/$KR/shared_prefs
mkdir /data/data/$KR/shared_prefs
chmod 777 /data/data/$KR/shared_prefs
rm -rf /data/data/$KR/shared_prefs/device_id.xml
echo "<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
    <string name=\"random\"></string>
    <string name=\"install\"></string>
    <string name=\"uuid\">$RANDOM$RANDOM-$RANDOM-$RANDOM-$RANDOM-$RANDOM$RANDOM$RANDOM</string>
</map>" > /data/data/$KR/shared_prefs/device_id.xml
rm -rf /data/data/$KR/databases
rm -rf /data/media/0/Android/data/$KR/files/login-identifier.txt
rm -rf /data/media/0/Android/data/$KR/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate
touch /data/media/0/Android/data/$KR/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate
rm -rf /data/media/0/Android/data/$KR/files/TGPA
touch /data/media/0/Android/data/$KR/files/TGPA
rm -rf /data/media/0/Android/data/$KR/files/ProgramBinaryCache
touch /data/media/0/Android/data/$KR/files/ProgramBinaryCache
chmod -R 000 /data/data/$KR/files/ano_tmp/ano.ano3.dat
clear
echo -e "${BIPurple}"
sleep 0.5
echo "Done"
echo "❤️🧡💛💚💙💜🤎🖤🤍"
sleep 1
exit
            ;;
        "Taiwan")
iptables -I OUTPUT -d cloud.vmp.onezapp.com -j REJECT
iptables -I INPUT -s cloud.vmp.onezapp.com -j REJECT

rm -rf /data/data/$TW/shared_prefs
mkdir /data/data/$TW/shared_prefs
chmod 777 /data/data/$TW/shared_prefs
rm -rf /data/data/$TW/shared_prefs/device_id.xml
echo "<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
    <string name=\"random\"></string>
    <string name=\"install\"></string>
    <string name=\"uuid\">$RANDOM$RANDOM-$RANDOM-$RANDOM-$RANDOM-$RANDOM$RANDOM$RANDOM</string>
</map>" > /data/data/$TW/shared_prefs/device_id.xml
rm -rf /data/data/$TW/databases
rm -rf /data/media/0/Android/data/$TW/files/login-identifier.txt
rm -rf /data/media/0/Android/data/$TW/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate
touch /data/media/0/Android/data/$TW/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate
rm -rf /data/media/0/Android/data/$TW/files/TGPA
touch /data/media/0/Android/data/$TW/files/TGPA
rm -rf /data/media/0/Android/data/$TW/files/ProgramBinaryCache
touch /data/media/0/Android/data/$TW/files/ProgramBinaryCache
chmod -R 000 /data/data/$TW/files/ano_tmp/ano.ano3.dat
clear
echo -e "${BIPurple}"
sleep 0.5
echo "Done"
echo "❤️🧡💛💚💙💜🤎🖤🤍"
sleep 1
exit
            ;;
        "Vietnam")
            iptables -I OUTPUT -d cloud.vmp.onezapp.com -j REJECT
iptables -I INPUT -s cloud.vmp.onezapp.com -j REJECT

rm -rf /data/data/$VT/shared_prefs
mkdir /data/data/$VT/shared_prefs
chmod 777 /data/data/$VT/shared_prefs
rm -rf /data/data/$VT/shared_prefs/device_id.xml
echo "<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
    <string name=\"random\"></string>
    <string name=\"install\"></string>
    <string name=\"uuid\">$RANDOM$RANDOM-$RANDOM-$RANDOM-$RANDOM-$RANDOM$RANDOM$RANDOM</string>
</map>" > /data/data/$VT/shared_prefs/device_id.xml
rm -rf /data/data/$VT/databases
rm -rf /data/media/0/Android/data/$VT/files/login-identifier.txt
rm -rf /data/media/0/Android/data/$VT/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate
touch /data/media/0/Android/data/$VT/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Intermediate
rm -rf /data/media/0/Android/data/$VT/files/TGPA
touch /data/media/0/Android/data/$VT/files/TGPA
rm -rf /data/media/0/Android/data/$VT/files/ProgramBinaryCache
touch /data/media/0/Android/data/$VT/files/ProgramBinaryCache
chmod -R 000 /data/data/$VT/files/ano_tmp/ano.ano3.dat
clear
echo -e "${BIPurple}"
sleep 0.5
echo "Done"
echo "❤️🧡💛💚💙💜🤎🖤🤍"
sleep 1
exit
            ;;
        "Exit")
            exit #exit
            ;;
        *) echo "成 功 $REPLY";;
    esac
done