Browse Source

Added -N for better spamlist retrieval

master
crt0mega 9 months ago
parent
commit
c6f93947cf
Signed by: crt0mega GPG Key ID: DCAA09100B14F420
  1. 1
      .gitignore
  2. 6
      README.md
  3. 2
      byezlax

1
.gitignore

@ -1 +1,2 @@
config
spammers

6
README.md

@ -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.

2
byezlax

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

Loading…
Cancel
Save