feat: mirror phishing-filter & pup-filter

This commit is contained in:
MDLeom 2021-03-31 11:17:40 +00:00
parent 297ec84bc5
commit d5098d46ab
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
2 changed files with 8 additions and 4 deletions

View File

@ -1,15 +1,19 @@
image: alpine:latest # Use the latest version of Alpine Linux docker image image: alpine:latest
pages: pages:
before_script: before_script:
- apk update && apk add git brotli - apk update && apk add git brotli
- git clone --depth 5 https://gitlab.com/curben/urlhaus-filter.git urlhaus-filter/ - git clone --depth 5 https://gitlab.com/curben/urlhaus-filter.git urlhaus-filter/
- git clone --depth 5 https://gitlab.com/curben/phishing-filter.git phishing-filter/
- git clone --depth 5 https://gitlab.com/curben/pup-filter.git pup-filter/
script: script:
- mkdir -p public/ - mkdir -p public/
- cp urlhaus-filter/urlhaus-filter* public/ - cp urlhaus-filter/urlhaus-filter* public/
- find public -type f -regex '.*\.\(txt\|conf\|tpl\)$' -exec gzip -f -k -9 {} \; - cp phishing-filter/dist/phishing-filter* public/
- find public -type f -regex '.*\.\(txt\|conf\|tpl\)$' -exec brotli -f -k -9 {} \; - cp pup-filter/dist/pup-filter* public/
- find public -type f -regex '.*\.\(txt\|conf\|tpl\|rules\)$' -exec gzip -f -k -9 {} \;
- find public -type f -regex '.*\.\(txt\|conf\|tpl\|rules\)$' -exec brotli -f -k -9 {} \;
artifacts: artifacts:
paths: paths:

View File

@ -1,3 +1,3 @@
# Malicious URL Blocklist # Malicious URL Blocklist
Blocklists mirror of https://gitlab.com/curben/urlhaus-filter Blocklists mirror of [urlhaus-filter](https://gitlab.com/curben/urlhaus-filter), [phishing-filter](https://gitlab.com/curben/phishing-filter) and [pup-filter](https://gitlab.com/curben/pup-filter).