Update scripts and lists

This commit is contained in:
Be
2024-03-01 22:13:22 +01:00
parent 67a35e158f
commit 047fb7463a
5 changed files with 78 additions and 38 deletions

13
blacklists_updater.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
outfile_wo_comments="blacklist.txt"
outfile_w_comments="blacklist_comments.txt"
url_ass="https://raw.githubusercontent.com/C24Be/AS_Network_List/main/lists/ru-gov-ass.txt"
url_nets="https://raw.githubusercontent.com/C24Be/AS_Network_List/main/lists/ru-gov-netnames.txt"
./network_list_from_as.py ${url_ass} -q > ${outfile_wo_comments}
./network_list_from_netname.py ${url_nets} -q >> ${outfile_wo_comments}
./network_list_from_as.py ${url_ass} > ${outfile_w_comments}
./network_list_from_netname.py ${url_nets} >> ${outfile_w_comments}