#!/bin/bash
rm -rf cfip 2>/dev/null
mkdir cfip 2>/dev/null
cd cfip
for i in $(seq 10)
do
ping -c 1 -W 1 pan.zengge99.ml
done 

curl -k -o cf.sh https://pan.zengge99.ml/router.sh
chmod 777 cf.sh

./cf.sh -r -k -s
mkdir ../cfipbk
cp * ../cfipbk/
mv cfip.txt cfip.txt.bak
cat log.txt hspeedlog.txt > cfip.txt
rm log.txt
./cf.sh -c -s -n 400
mv cfip.txt.bak cfip.txt
