This commit is contained in:
root 2023-12-26 13:05:50 -05:00
parent ad1897cca5
commit 0f4e6ec71b

View file

@ -10,4 +10,5 @@ if ! command -v sed >/dev/null; then
fi fi
mkdir -p urlhaus mkdir -p urlhaus
curl https://urlhaus.abuse.ch/downloads/text_online/ -o urlhaus/online curl https://urlhaus.abuse.ch/downloads/text_online/ -o urlhaus/online
sed -i 's/^https:\/\///;s/^http:\/\///' urlhaus/online
sed -i '1s|^|#listcategory: "URLhaus @ abuse.ch"\n|' urlhaus/online sed -i '1s|^|#listcategory: "URLhaus @ abuse.ch"\n|' urlhaus/online