ngadmini / Grabbing-Blacklist-for-Bind9-RPZ

a pack of bash script to grabbing blacklisted domains for bind9 response policy zone
Creative Commons Attribution Share Alike 4.0 International
17 stars 8 forks source link

add url list #131

Closed alsyundawy closed 1 year ago

alsyundawy commented 1 year ago

https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts

https://github.com/blocklistproject/Lists/blob/master/tracking.txt https://github.com/blocklistproject/Lists/blob/master/tracking.ip https://github.com/blocklistproject/Lists/blob/master/scam.txt https://github.com/blocklistproject/Lists/blob/master/redirect.txt https://github.com/blocklistproject/Lists/blob/master/ransomware.txt https://github.com/blocklistproject/Lists/blob/master/porn.txt https://github.com/blocklistproject/Lists/blob/master/piracy.txt https://github.com/blocklistproject/Lists/blob/master/phishing.txt https://github.com/blocklistproject/Lists/blob/master/malware.txt https://github.com/blocklistproject/Lists/blob/master/malware.ip https://github.com/blocklistproject/Lists/blob/master/gambling.txt https://github.com/blocklistproject/Lists/blob/master/fraud.txt https://github.com/blocklistproject/Lists/blob/master/drugs.txt https://github.com/blocklistproject/Lists/blob/master/ads.txt https://github.com/blocklistproject/Lists/blob/master/abuse.txt https://github.com/blocklistproject/Lists/blob/master/abuse.ip

ngadmini commented 1 year ago

Banyak yang harus diubah bro kalau mau menambah item di grab_urls. Tapi intinya begini, misalnya ingin menambah url :

https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts

maka harus membuat regex sehingga hanya diperoleh domains

ck.getcookiestxt.com
eu1.clevertap-prod.com
wizhumpgyros.com
coccyxwickimp.com
webmail-who-int.000webhostapp.com
010sec.com

selanjutnya diperlukan penyesuaian pada file grab_config, grab_library dan grab_http.sh mulai baris 135 (sesuai kategori)

regards ngadmini