
echo 请稍等 正在启动独家过鉴权程序.......
echo -en "\033[1;95m官方频道@HGSJH6
每登录一次号更改一次网络ip地址
搭配拦截器使用\033[0m"
sleep 0.5
echo
echo -en "\033[1;95m启动中请稍等...\033[0m"
echo
echo -ne '                 \033[1;95m  □□□□□□□□□□0% \r'
sleep 0.10
echo -ne '                 \033[1;95m  ■□□□□□□□□□10% \r'
sleep 0.1
echo -ne '                 \033[1;95m  ■■□□□□□□□□20% \r'
sleep 0.1
echo -ne '                 \033[1;95m  ■■■□□□□□□□30% \r'
sleep 0.1
echo -ne '                 \033[1;95m  ■■■■□□□□□□40% \r'
sleep 0.1
echo -ne '                 \033[1;95m  ■■■■■□□□□□50% \r'
sleep 0.1
echo -ne '                 \033[1;95m  ■■■■■■□□□□60% \r'
sleep 0.1
echo -ne '                 \033[1;95m  ■■■■■■■□□□70% \r'
sleep 0.1
echo -ne '                 \033[1;95m  ■■■■■■■■□□80% \r'
sleep 0.1
echo -ne '                 \033[1;95m  ■■■■■■■■■□90% \r'
sleep 0.1
echo -ne '                 \033[1;95m  ■■■■■■■■■■100% \r'
sleep 0.1
echo
echo "加载成功！"
while true
do
echo -e "\033[46;;1m1.过鉴权第1步[自动重启]\033[0m"
echo -e "\033[41;;1m2.过鉴权第2步\033[0m"
echo -e "\033[45;;1m3.上号前执行\033[0m"
echo -n "\033[32;;1m点击右下角Im输入操作对应的数字:"
# 读取用户的选择
read choice

# 根据用户的选择执行相应的操作
case $choice in
    1)
echo -e "\033[35;;1m正在执行改ID+清游戏环境,请耐心等待
           \033[0m"
        # 在这里添加操作1的代码
rm -rf /storage/emulated/0/Android/obb/com.tencent.tmgp.pubgmhd
rm -rf /storage/emulated/0/Download/HANYCJLZOEUS_TOKEN2.dat
rm -rf /storage/emulated/0/Download/nbavmc_unxqbih.dat
rm -rf /storage/emulated/0/Download/juscrkat.dat
rm -rf /data/user/0/com.tencent.tmgp.pubgmhd/*
find /sdcard/Android -mindepth 1 -prune ! \( -name "data" -o -name "obb" -o -name "imei.log" -o -name "kami.log" \) -print0 | xargs -0 rm -rf
find /sdcard/Android/data/com.tencent.tmgp.pubgmhd -mindepth 1 -prune ! -name "files" -print0 | xargs -0 rm -rf
find /sdcard/Android/data/com.tencent.tmgp.pubgmhd/files -mindepth 1 -prune ! \( -name "ProgramBinaryCache" -o -name "UE4Game" \) -print0 | xargs -0 rm -rf
find /sdcard/Android/data/com.tencent.tmgp.pubgmhd/files/UE4Game -mindepth 1 -prune ! -name "ShadowTrackerExtra" -print0 | xargs -0 rm -rf
find /sdcard/Android/data/com.tencent.tmgp.pubgmhd/files/UE4Game/ShadowTrackerExtra -mindepth 1 -prune ! -name "ShadowTrackerExtra" -print0 | xargs -0 rm -rf
find /sdcard/Android/data/com.tencent.tmgp.pubgmhd/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra -mindepth 1 -prune ! -name "Saved" -print0 | xargs -0 rm -rf
find /sdcard/Android/data/com.tencent.tmgp.pubgmhd/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved -mindepth 1 -prune ! \( -name "Config" -o -name "Paks" -o -name "SaveGames" -o -name "SrcVersion.ini" \) -print0 | xargs -0 rm -rf
rm -rf /storage/emulated/0/Android/data/com.tencent.tmgp.pubgmhd/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks/Arts_Timeliness
echo 0 > /proc/sys/net/nf_conntrack_max
echo 0 > /proc/sys/net/unix/max_dgram_qlen
echo 0 > /proc/sys/kernel/max_lock_depth
system_path=/private/var/mobile/Containers/Data/Application
app_path=""
for file in $system_path/*; do
    if [ -d "$file/Documents/ShadowTrackerExtra" ];then
		app_path="$file"
	fi
done
delete_path=$app_path/Documents/tss_tmp
rm -rf $delete_path
delete_path=$app_path/Documents/tdm.db
rm -rf $delete_path
delete_path=$app_path/Documents/tss_app_915c.dat
rm -rf $delete_path
delete_path=$app_path/Documents/tss_cs_stat2.dat
rm -rf $delete_path
delete_path=$app_path/Documents/api.tpns.sh.tencent.com_IPXL3G6EADY4_xgvipiotprivateserialization.b
rm -rf $delete_path
delete_path=$app_path/Documents/tss.i.m.dat
rm -rf $delete_path
delete_path=$app_path/Documents/tersafe.update
rm -rf $delete_path
delete_path=$app_path/Documents/ShadowTrackerExtra/Saved/Logs
rm -rf $delete_path
delete_path=$app_path/Documents/ShadowTrackerExtra/Saved/Config
rm -rf $delete_path
delete_path=$app_path/Library/Caches
rm -rf $delete_path
delete_path=$app_path/Library/'Saved Application State'
rm -rf $delete_path
delete_path=$app_path/Library/MidasLog
rm -rf $delete_path
delete_path=$app_path/Library/WebKit
rm -rf $delete_path
delete_path=$app_path/Library/Cookies
rm -rf $delete_path
delete_path=$app_path/Library/'Application Support'
rm -rf $delete_path
delete_path=$app_path/Library/APWsjGameConfInfo.plist
rm -rf $delete_path
delete_path=/private/var/gg_address
rm -rf $delete_path
delete_path=$app_path/Documents/sp_default.plist
rm -rf $delete_path
delete_path=$app_path/Library/'ts.records'
rm -rf $delete_path
delete_path=$app_path/Library/ts
rm -rf $delete_path
rm -rf /data/system/users/0/settings_ssaid.xml
rm -rf /storage/emulated/0/Android/data/com.tencent.tmgp.pubgmhd/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks/vodPcdnMSdkreportLogStamp.log
rm -rf /storage/emulated/0/Android/data/com.tencent.tmgp.pubgmhd/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks/vodPcdnMSdkPeerId.log
rm -rf /storage/emulated/0/Android/data/com.tencent.tmgp.pubgmhd/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks/teg-pcdnvodsdk.txt.xlog
rm -rf /storage/emulated/0/Android/data/com.tencent.tmgp.pubgmhd/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks/418021106_3012_*
rm -rf /storage/emulated/0/Android/data/com.tencent.tmgp.pubgmhd/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks/eifsCache*
rm -rf /storage/emulated/0/Android/data/com.tencent.tmgp.pubgmhd/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks/UGC_Outline
rm -rf /storage/emulated/0/Android/data/com.tencent.tmgp.pubgmhd/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks/apollo_reslist.flist
rm -rf /storage/emulated/0/Android/data/com.tencent.tmgp.pubgmhd/files/UE4Game/ShadowTrackerExtra/ShadowTrackerExtra/Saved/Paks/filelist.json

rm -rf /data/system/users/0/settings_ssaid.xml
echo -e "\033[35;;1m执行改ID+清游戏环境完毕 正在为您重启\033[0m"
sleep 2s
reboot

        ;;
    2)
        # 在这里添加操作2的代码
prog_name="/data/temp"
name=$(tr -dc \'1-9\' < /dev/urandom | head -c 8)
while echo "$name" | grep -q "'"
do
name=$(tr -dc \'1-9\' < /dev/urandom | head -c 8)
done 
yy=$(getprop ro.serialno)
resetprop ro.serialno $name
yy=$(getprop ro.serialno)
iptables -I OUTPUT -p all -m string --string access1.tpns.sh.tencent.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string android.crashsight.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string api.xunyou.mobi --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string cdn.wetest.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string cfg.imtt.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string cgi.connect.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string cloudctrl.gcloud.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string csy.ll.tcdnos.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string csy.pandora.tcdnos.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string dldir1.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string down.pandora.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string game.gtimg.cn --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string gpcloud.tgpa.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string h.trace.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string hpjy-op.tga.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string hpjy-report.tga.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string hpjytv-pic.tga.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string htrace.wetvinfo.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string hwydown.ll.tcdnos.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string hwypandora.ll.tcdnos.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string idcconfig.gcloudsdk.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string img.msdk.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string log.tbs.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string log.tpns.sh.tencent.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string luyou360.cn --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string mazu.m.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string otheve.beacon.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string portal.xunyou.mobi --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string qos.189.cn --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string qos.game.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string qos.game.qq.com:8080 --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string snowflake.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string tbsrecovery.imtt.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string tbstx.csy.tcdnos.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string tdid.m.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string thirdwx.qlogo.cn --algo bm -j DROP

rm -rf /data/user/0/com.tencent.tmgp.pubgmhd/files/ano_tmp
        rm -rf /data/data/com.tencent.tmgp.pubgmhd/files/ano_tmp
rm -rf /data/system/users/0/settings_ssaid.xml
prog_name="/data/temp"
name=$(tr -dc \'1-9\' < /dev/urandom | head -c 8)
while echo "$name" | grep -q "'"
do
name=$(tr -dc \'1-9\' < /dev/urandom | head -c 8)
done 
yy=$(getprop ro.serialno)
resetprop ro.serialno $name
yy=$(getprop ro.serialno)
iptables -I OUTPUT -p all -m string --string access1.tpns.sh.tencent.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string android.crashsight.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string api.xunyou.mobi --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string cdn.wetest.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string cfg.imtt.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string cgi.connect.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string cloudctrl.gcloud.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string csy.ll.tcdnos.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string csy.pandora.tcdnos.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string dldir1.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string down.pandora.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string game.gtimg.cn --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string gpcloud.tgpa.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string h.trace.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string hpjy-op.tga.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string hpjy-report.tga.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string hpjytv-pic.tga.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string htrace.wetvinfo.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string hwydown.ll.tcdnos.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string hwypandora.ll.tcdnos.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string idcconfig.gcloudsdk.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string img.msdk.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string log.tbs.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string log.tpns.sh.tencent.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string luyou360.cn --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string mazu.m.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string otheve.beacon.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string portal.xunyou.mobi --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string qos.189.cn --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string qos.game.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string qos.game.qq.com:8080 --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string snowflake.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string tbsrecovery.imtt.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string tbstx.csy.tcdnos.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string tdid.m.qq.com --algo bm -j DROP
iptables -I OUTPUT -p all -m string --string thirdwx.qlogo.cn --algo bm -j DROP
rm -rf /data/system/users/0/settings_ssaid.xml
    rm -rf /data/user/0/com.tencent.tmgp.pubgmhd/files/ano_tmp
        rm -rf /data/data/com.tencent.tmgp.pubgmhd/files/ano_tmp
echo 
prog_name="/data/temp"
name=$(tr -dc \'1-9\' < /dev/urandom | head -c 8)
while echo "$name" | grep -q "'"
do
name=$(tr -dc \'1-9\' < /dev/urandom | head -c 8)
done 
yy=$(getprop ro.serialno)
resetprop ro.serialno $name
echo 
yy=$(getprop ro.serialno)
echo -e "\033[35;;1m 执行完毕\033[0m"
        ;;


 # 在这里添加操作4的代码
  3)
 generate_random_ip() {
    rm -rf /storage/emulated/0/Android/data/com.tencent.tmgp.pubgmhd/cache/GameJoyRecorder/logs/
    
}


clean_iptables() {
    iptables -t nat -F
    echo "请勿关闭退出 打完一把团竞再关闭 官方频道@HGSJH6"
}


trap 'echo "脚本已停止"; exit 0' INT TERM

while true; do
    
    
    
    
    clean_iptables
   
rm -rf /storage/emulated/0/Android/data/com.tencent.tmgp.pubgmhd/cache/GameJoyRecorder/logs/
   
   
done

        ;;       
    *)
esac
done
