Added SPAMLIST_URL to config, moved spammers to seperate repo

This commit is contained in:
crt0mega 2021-01-18 22:14:04 +01:00
parent 005b699412
commit 5f9a89a5e8
2 changed files with 12 additions and 5 deletions

13
byezlax
View File

@ -1,8 +1,8 @@
#!/bin/bash
#######################
# Database connection #
#######################
########################
# Script configuration #
########################
if [ ! -f "$PWD/config" ]; then
declare DB_NAME="hubzilla"
@ -10,10 +10,17 @@ if [ ! -f "$PWD/config" ]; then
declare DB_PORT="3306"
declare DB_USER="user"
declare DB_PASS="pass"
declare SPAMLIST_URL="https://git.c-r-t.tk/DiasporaDefenseLeague/spamlist/raw/branch/master/spammers"
else
source $PWD/config > /dev/null
fi
#################################
# Download new list of spammers #
#################################
wget $SPAMLIST_URL -q
#########################
# Read List of spammers #
#########################

View File

@ -19,8 +19,9 @@ clara_listensprechen@pod.tchncs.de
deusfigendi@neptune.jerrylumpkins.me
dg7bba@pod.tchncs.de
dredmorbius@mondiaspora.net
florida_ted@pod.dapor.net
florida_ted@diaspora.psyco.fr
florida_ted@pod.automat.click
florida_ted@pod.dapor.net
florida_ted@pod.jns.im
gander22h@diaspora.psyco.fr
hackbyte@pod.dapor.net
@ -53,4 +54,3 @@ vm66%@daspr.io
vm66%@pod.tchncs.de
wurstaufbrot@pod.dapor.net
wurstaufbrot@pod.tchncs.de
florida_ted@pod.automat.click