Added -N for better spamlist retrieval

This commit is contained in:
crt0mega 2021-01-28 16:01:30 +01:00
parent 5f9a89a5e8
commit c6f93947cf
Signed by: crt0mega
GPG Key ID: DCAA09100B14F420
3 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
config
spammers

View File

@ -1,10 +1,10 @@
# byezlax
Famous spam removal script for Hubzilla which came in handy since mad Ivan Zlax started terrorizing the Fediverse.
Famous spam removal script for Hubzilla servers which came in handy since mad Ivan Zlax started terrorizing the Fediverse.
## Usage
Fill the variables your database connection details and adjust the file `spammers` to your needs. The script will remove all items (posts, comments) and notifications of usernames in that list from your Hubzilla database.
Fill the variables in the script or in a seperate `config` file with your database connection details and a valid source for the spammers file. The script will remove all items (posts, comments) and notifications of usernames in that list from your Hubzilla database and deactivates these accounts locally.
Ivan is known to create one to six accounts daily, spamming posts made by atomjack@joindiaspora.com and people resharing posts made by atomjack@joindiaspora.com, tagging users who liked or reshared these posts and threatening them.
@ -12,6 +12,6 @@ It is not necessary to create a cronjob for this script because once used, he's
## Warnings
Be careful when adding new account names with wildcards to the array. Ivan mimics usernames of other Diaspora\* users. Just adding username@% might remove content from innocent users.
Be careful when adding new account names with wildcards to the list. Ivan mimics usernames of other Diaspora\* users. Just adding username@% might remove content from innocent users.
Don't try to communicate with him. He's going to tell you a story with made-up "facts" to justify his crusade and you'll probably end up in his list of spam targets. He has lost his mind; treat him exactly like that.

View File

@ -19,7 +19,7 @@ fi
# Download new list of spammers #
#################################
wget $SPAMLIST_URL -q
wget $SPAMLIST_URL -q -N
#########################
# Read List of spammers #