rpg.pbem.online

#diaspora #spam #troll #ban #podmin

#zlax is such a huge #PITA. Third version of the cleaner script. I hope it won't do innocent victims.I guess it will have to run by cron regularly until hell freezes and Zlax tires.
#!/usr/bin/env ruby 

# Load diaspora environment 
ENV["RAILS_ENV"] ||= "production" 
require_relative "config/environment" 

toxic_accounts = Person.find_by_substring('ivan zlax') 
toxic_list = toxic_accounts.map { |z| z.diaspora_handle } 
toxic_list.append('vm66%@diaspora.ruhrmail.de', '[email protected] ', '[email protected]%', '[email protected]%') 
puts toxic_list.inspect 
#exit 

for toxic in toxic_list do 
  puts "Blocking and cleaning #{toxic}" 

  local_spammers, remote_spammers = Person.where("diaspora_handle LIKE ?", toxic).where(closed_account: false).partition(&:local?) 

# Retract all comments of local spammers and close their accounts 
local_spammers.each do |spammer| 
  Comment.where(author_id: spammer.id).each do |comment| 
    puts "delete #{comment.guid} from post #{comment.parent.guid}" 
    spammer.owner.retract(comment) 
  end 
  spammer.owner.close_account! 
end 

# Retract all spam comments on posts of local users and delete the rest 
Comment.where(author_id: remote_spammers.map(&:id)).each do |comment| 
  puts "delete #{comment.guid} from post #{comment.parent.guid}" 
  post_author = comment.parent.author 
  if post_author.local? 
    post_author.owner.retract(comment) 
  else 
    comment.destroy 
  end 
end 

# Close accounts of remote users if wanted 
remote_spammers.each do |spammer| 
  puts "close account #{spammer.diaspora_handle}" 
  #AccountDeleter.new(spammer.diaspora_handle).perform! 
  spammer.update_column(:serialized_public_key, "BLOCKED") 
  puts "closed account #{spammer.diaspora_handle}" 
end 

end
Do you have a git repo somewhere?
No. I did not write this script, I just updated it.
You will need to add [email protected]
The asshole struck again...
Sorry for the vulgarity but an asshole can't be named otherwise...
@Pufcorn Mmmmmhhhh... This means that "find_by_substring" does not do what I want.
I have to improve this script.
@Pufcorn Actually, my pod does not find hum unless I look explicitely for [email protected]
This might be a side effect of the federation protocol.
I'm currently writing a bash script for removing his comments from a hubzilla database. Looks fine so far ^^
Happy Holidays to you and especially thank you for your work to counter this hatred!
I sent it to my podmin :)
Thank you!!!
It's only for Hubzilla "hubs" and not compatible with Diaspora. For Diaspora you should use @Vengeur Masqué's script.
Take this version, just in case (I just added [email protected])
#!/usr/bin/env ruby 

# Load diaspora environment 
ENV["RAILS_ENV"] ||= "production" 
require_relative "config/environment" 

toxic_accounts = Person.find_by_substring('ivan zlax') 
toxic_list = toxic_accounts.map { |z| z.diaspora_handle } 
toxic_list.append(' [email protected] ', 'vm66%@diaspora.ruhrmail.de', '[email protected] ', '[email protected]%', '[email protected]%') 
puts toxic_list.inspect 
#exit 

for toxic in toxic_list do 
  puts "Blocking and cleaning #{toxic}" 

  local_spammers, remote_spammers = Person.where("diaspora_handle LIKE ?", toxic).where(closed_account: false).partition(&:local?) 

# Retract all comments of local spammers and close their accounts 
local_spammers.each do |spammer| 
  Comment.where(author_id: spammer.id).each do |comment| 
    puts "delete #{comment.guid} from post #{comment.parent.guid}" 
    spammer.owner.retract(comment) 
  end 
  spammer.owner.close_account! 
end 

# Retract all spam comments on posts of local users and delete the rest 
Comment.where(author_id: remote_spammers.map(&:id)).each do |comment| 
  puts "delete #{comment.guid} from post #{comment.parent.guid}" 
  post_author = comment.parent.author 
  if post_author.local? 
    post_author.owner.retract(comment) 
  else 
    comment.destroy 
  end 
end 

# Close accounts of remote users if wanted 
remote_spammers.each do |spammer| 
  puts "close account #{spammer.diaspora_handle}" 
  #AccountDeleter.new(spammer.diaspora_handle).perform! 
  spammer.update_column(:serialized_public_key, "BLOCKED") 
  puts "closed account #{spammer.diaspora_handle}" 
end 

end
Ohhhh thanks!!!!!!!!
is he hoping that [email protected] is blacklisted, so that I will be thrown out of Diaspora* ?
That's probably what he's trying to achieve. And he's probably checking this post regularly.
Y A diaspora
Our podmin @zauberstuhl seems to have blocked him all over... let's see if this insane guy will show up again... hope not!
I really hope not. He is very annoying (to say it kind).
pardon my ignorance but those scripts are for your very own browser or for a site?

if it's for a site, do we have some page where the additional site restrictions/scripts/blocked users are listed?
@mʕ•ﻌ•ʔm jeSuisatire bitPickup [italic~irony] .. ᘛ⁐̤ᕐᐷ: The script posted by @Vengeur Masqué is aimed at Diaspora\*-podmins and has to be run on a pod, my script is designed for Hubzilla and has to be run on a Hubzilla instance.
thx

I realy think we need a detailes description on the pods/nodes for the restrictions imposed and also some kind of message if you can't comment or your comments aren't federated to contacts.

Somehow it feels like being interfered in your comunication without knowing and that's realy bad.
Is there a Diaspora version or equivalent?
Is there a Diaspora version or equivalent?
These scripts are meant to be run on the pod or the server itself, they are no userscripts.
@0mega ☣ [d*] That wasn't the question I asked.

I missed earlier your comment above for Diaspora podmins to use the @Vengeur Masqué script. I see that now.
Lack of a 'flag account" or "alert podmin" capability, or even knowing who podmins are ... is another general weakness.
Lack of a 'flag account" or “alert podmin” capability, or even knowing who podmins are … is another general weakness.
#podmin
Thanks for sharing the script, I've been mad with all the spam and harassment from this user; I'll be closing his accounts on #psyco pod as well.
@Tom Ruth
New version on my stream, under the #zlax tag (just added a couple of accounts)
61, un nouveau record... :(
pouvez-vous aider @Sandy Ao (黃明珠) ?
elle a été trollée par lui et elle a peur qu'il ne hacke son compte et son blog
merci pour elle si vous pouvez l'aider ou la rassurer
@clou clou ✻ ce sont les dizaines de comptes qu'il s'est créé partout. Il faut que @Sandy Ao (黃明珠) bloque chacun de ces comptes, un par un. Il n'y a aucun risque, c'est juste pénible.
Preparing to remove items from handle [email protected] ... 
ROW_COUNT() 
21
I thank every one of you...
I managed to get 34 accounts of his -ignored .
and the posts where he was engaged with me are deleted..
Honestly I do not have skill and energy to handle
person like him.
It's very disturbing..
He insisted that I seek Westerners admiration / promoting them
Topics involve with
Politics and racism.. hurt..
@clou clou ✻ Il enregistre un nouveau compte à chaque fois.
How can he post comments on my post when he is on my ignore lists?
and I am not sharing with public, with friends that I have confirmed...
I think the administers must help out..
Oh!! thank you. @clou clou ✻ .. he gives me goose bum.. .. It's a total nightmare...
debo diaspora
merci, @clou clou ✻ oui, j'ai bien compris. I think he has admin privileges somehow.
He's using some automated script to create new accounts and posts to comment on public posts.
One day, he will make a mistake and his IP will be discovered and he will be in a shitty poo.
Nobody is perfect ;)
debo diaspora
@Christoph S Please see if you can get these 3 new accounts suppressed: ivan zlax [email protected], ivan zlax [email protected], and ivan zlax [email protected]
debo diaspora
@Emmanuel Florac Would it be enough for her to only post privately ?
Thanks, I'll add it to my list!
I've blocked that user's IP directly, hopefully he's using a fixed one.
If the case, it will be necessary to share this address with the podmins :)
Just deny 95.183.51.63 in your webservers. It's pointing to https://dev.ussr.win/, so, looks like a fixed one.
I am not an administrator but I believe many are following this publication.
Thank You!
Thanks, @Tom Ruth! Is this the IP he's using for registration and spamming?
@0mega ☣ it is the IP that was used for creating a new account and logging in to my pod yesterday.
@clou clou ✻ If every podmin starts blocking that IP there might be a chance, but Ivan the mad will probably find ways to circumvent that.
I have blocked 95.183.48.0/20. He has hosted his stuff at solarcom.ch and is using their servers for his crusade of madness. That violates solarcom's "acceptable use policy". Maybe it's time for all affected podmins to contact solarcom.
@Pufcorn thank you... what a night mare..
Il n'y a pas de grand chef, c'est ça Diaspora*
Je n'ai pas chercher ni trouvé, c'est mon amour qui me trouve Hahahahah!
La prochaine fois :)
J'aime bien ce texte français et traduit en anglais aussi
Ivan, tu manques d'amour, moi aussi je m'ennuie..... On pourrait se faire des câlins si tu n'étais pas si loin.....
Encore une fois, il ne me faut que quelques secondes pour te bloquer et tes messages disparaissent....

Tant de travail pour toi mon amour et si peu pour moi...

Ne te laisse pas aller sur le chemin de la haine, tu périras...
Chus en zamour ♥♥♥ ^^
Another one:
ivаn zlaх [email protected]
Yes.. 71-
Il me l'a fait hier, il essaie de provoquer mais c'est la preuve qu'il s'essouffle.
yes 72nd .
FYI for podmins, even though we could never see the end of it. Banning IP ranges is just like putting a little rock in his shoe ^_^
deny 95.183.51.63; 
        deny 95.183.48.0/20; 
        deny 77.11.245.0/24;
@Tom Ruth @Vengeur Masqué Have you tried to contact Solarcom yet?
He is posting comments containing child porn at the moment with a new account. What a disgusting asshole...
Yes, he warned me if I deleted these messages that he would come back with a paedophile porn message.
I delete everything, f*** him!
@Fritz R. BTW the simple possession of child porn can get you in jail in most countries I think.
I thought about sending it to the cops to get him a real reminder that his behavior is utterly shitty but for this, I would have had to leave his crap comment under my post. Which I didn't want, of course. But I guess I will send the data I have about him to the feds nonetheless if it happens again.
A screenshot before erasing would be a proof as well.
thx for the hint @Christoph S
@pufcorn i good idea but in this case I'd have such a picture on my box and in my mails. No, definitely no.
Maybe a partially pixelated screenhot?
Okay. It's totally understandable btw.
Yeah in fact I even cleaned up my browser cache because I really don't want any of this shit in my computer.
He's back again...
zlахy [email protected]
Another one:
non atom jack [email protected]