fix bug x2.

master
livejq 12 months ago
parent aee9f67970
commit 207cd46900
  1. 4
      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

Loading…
Cancel
Save