diff options
Diffstat (limited to 'autoban.sh')
-rwxr-xr-x | autoban.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/autoban.sh b/autoban.sh new file mode 100755 index 0000000..d234f25 --- /dev/null +++ b/autoban.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +comm -13 <(sort user-whitelist.txt) <( + < show-edit-counts.txt \ + grep -v 'blockreason:' | + grep -v 'total_editcount: 0\b' | + grep 'existing_editcount: 0\b' | + cut -d $'\t' -f1 | cut -d ' ' -f2- | + sort) | +./block-users.rb "Spammer (Autodetected: has made edits, but only to deleted pages)" |