Skip to content

Commit

Permalink
Update generate-blocklist.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCyberArcher authored Nov 5, 2024
1 parent 3b67a3b commit 9d87e5b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/generate-blocklist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,13 @@ jobs:
mkdir -p ./blocklist/ip
cd ./blocklist/ip
curl https://raw.githubusercontent.com/firehol/blocklist-ipsets/refs/heads/master/firehol_level3.netset | sed '/^#/d' >> firehol-lv3.txt
curl https://raw.githubusercontent.com/duggytuxy/malicious_ip_addresses/refs/heads/main/botnets_zombies_scanner_spam_ips.txt | sed '/^#/d' >> duggytuxy.txt
for url in https://raw.githubusercontent.com/firehol/blocklist-ipsets/refs/heads/master/firehol_level3.netset https://raw.githubusercontent.com/duggytuxy/malicious_ip_addresses/refs/heads/main/botnets_zombies_scanner_spam_ips.txt
do
curl $url | sed '/^#/d' > $(basename $url)
done
cat * >> ip-protection.txt
- name: Extra blocklists generation
run: |
mkdir -p ./blocklist/extra
Expand Down

0 comments on commit 9d87e5b

Please sign in to comment.