diff --git a/chntunnel/chntunnel.sh b/chntunnel/chntunnel.sh index c27e81a..2c835b5 100644 --- a/chntunnel/chntunnel.sh +++ b/chntunnel/chntunnel.sh @@ -118,7 +118,7 @@ collecting() { do for j in '\\' '|' '/' '-' do - printf "Collecting, a little long %c%c%c%c%c\r" \ + printf "Collecting %c%c%c%c%c\r" \ "$j" "$j" "$j" "$j" "$j" sleep 0.1 done @@ -142,7 +142,7 @@ if [ $# != 0 ]; then fi collecting grep "apnic|CN|ipv4|" $APNIC | awk -F'|' '{print $4"/"32-log($5)/log(2)}' >$WHITELIST - grep '|ipv4|' $APNIC | grep -v '|CN|' | awk -F'|' '{print $4"/"32-log($5)/log(2)}' >$GFWLIST + grep '|ipv4|' $APNIC | grep -v '|CN|' | grep -v 'summary' | awk -F'|' '{print $4"/"32-log($5)/log(2)}' >$GFWLIST msg_pass "Collection complete!" # grep '^apnic|CN|ipv4|' $APNIC | grep -o "$MATCH_IP|$MATCH_MASK" | while read line # do