Commit 345d9251 authored by System Administrator's avatar System Administrator

add fetch_scripts.sh

parent 574b5705
#!/bin/sh
cd /root/antifilter.network/ || exit
#curl --silent https://antifilter.download/list/allyouneed.lst
# https://antifilter.network/ip
for i in https://antifilter.network/download/ip6.lst \
https://antifilter.network/downloads/custom.lst \
https://antifilter.network/download/govno.lst \
https://antifilter.network/download/subnet.lst \
https://antifilter.network/download/ipsum.lst \
https://antifilter.network/download/ipsmart.lst \
https://antifilter.network/download/ip.lst ; do
epm tool eget --timestamping $i
done
......@@ -12,7 +12,9 @@
#curl --silent https://antifilter.download/list/ipresolve.lst || exit 1
#curl --silent https://antifilter.download/list/subnet.lst || exit 1
./fetch_antifilter.sh >/dev/null
cat /root/antifilter/community.lst /root/antifilter/ipresolve.lst /root/antifilter/subnet.lst
cat /root/antifilter/community.lst
cat /root/antifilter/ipresolve.lst
cat /root/antifilter/subnet.lst
#curl --silent https://raw.githubusercontent.com/zapret-info/z-i/master/dump.csv | cut -d";" -f1 | tr '|' '\n' | tr -d ' ' | grep -v Updated
#cat a_manual.list | grep -v "^#"
......
......@@ -142,7 +142,7 @@ ipset -exist create $SETNAME $IPSTYPE maxelem $MAXELEM
# ipset add $SETNAME.tmp $ip
#done
if true ; then
if false ; then
# use previous results too
cp $0.list $0.list.human
[ -s "$0.list.old2" ] && { echo >> $0.list; cat $0.list.old2 >>$0.list; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment