That sounds like a particularly horrible idea, there’s no way to know. I would take the risk on electronics, not something you actually put into your body.
That sounds like a particularly horrible idea, there’s no way to know. I would take the risk on electronics, not something you actually put into your body.
Not super easily. It can be done by querying the postgresql dabase, but there is no built-in method to do it using the browser interface at the moment. When anyone from any instance does report them, you will see the report.
Do you have an example of a query I could use? I’m a bit rusty with databases :) with an example I can get chatgpt to build me something better
I see, occasionally I get reports from local users about something elsewhere from a ‘foreign’ user… which I can then delete. I assume that’s not deleting from their server?
For example I get a report from a local user about a lemmy.ml user with a post in lemmy.world
I don’t unfortunately, I deliberately don’t log that due to some of the sensitive stuff on my own instance (we’re China based)
From ChatGPT and a huge thank you to @sunaurus@lemm.ee who reached out to us initially about the issue. Unfortunately the SQL he provided seemed a bit of a nuke so I modified it a bit using chatgpt and got the below which got us to 335 users. I will keep a close eye on the ones left
This got most of them (27k+)
SELECT lu.id, p.name, lu.email FROM local_user lu JOIN person p ON lu.person_id = p.id LEFT JOIN community_follower cf on p.id = cf.person_id LEFT JOIN comment c on p.id = c.creator_id LEFT JOIN post on p.id = post.creator_id WHERE cf.id is null AND c.id is null AND post.id is null AND lu.validator_time >= '2023-06-19' AND lu.email IS NOT NULL AND lu.email <> '' AND lu.email ~ '[0-9]{5,}' ORDER BY lu.id DESC;
This got 1000 or so left by lowering to 4 numbers after an email
DELETE FROM local_user WHERE id IN (SELECT lu.id FROM local_user lu JOIN person p ON lu.person_id = p.id LEFT JOIN community_follower cf on p.id = cf.person_id LEFT JOIN comment c on p.id = c.creator_id LEFT JOIN post on p.id = post.creator_id WHERE cf.id is null AND c.id is null AND post.id is null AND lu.validator_time >= '2023-06-19' AND lu.email IS NOT NULL AND lu.email <> '' AND lu.email ~ '[0-9]{4,}');
And this got 500 by looking for usernames with 2 digits after their username. If you’re worried about hitting actual users here use the joins
SELECT p.name, lu.email FROM local_user lu JOIN person p ON lu.person_id = p.id WHERE lu.person_id >= 356 AND p.name ~ '\d';
Yup I’ve got them, luckily 5 or more repeating numbers in their email pretty much identified 99% of them. Would you like me to send the CSV somewhere? 27k+ bots
That’s okay I found it, luckily there’s a pattern here too… I dug up 27k with repeating numbers on emails which is a good start!
Huh adminer would definitely be an easier way to do this, do you have the part of the docker-compose you used with the env vars etc?
Yeah that’s the issue I’m having, someone sent me a postgres command in DM earlier but it does seem to be a bit of a nuke/picking up ordinary users…
Nevermind, I’m in with user ‘lemmy’ :) I will start cleaning this up now…
Yeah I started on a dinky little server and now it’s massive… mostly seems to be a memleak or something going on though that’s causing OOM and a massive CPU spike. Anyone know anything? 4GB of RAM getting eaten for breakfast… just had to up it to 8
Damn, I’ve got to look into that myself. Mine’s currently on AWS and costing me a small fortune
I just put my instance through cloudflare, it seems okay. I would guess cloudflare won’t be that fussed considering it’s federated/easily accessible from others.
You could, but the API for Reddit won’t work in two weeks… and tbh I like the fact we’re building something new here
This server does work in China, however I would still advise a VPN for anyone coming here from within authoritarian regimes. I’ve taken precautions and mask IPs in the logs but still…
I would, but unfortunately r/jailbreak is closed where I got the instructions :(
It’s like everyone saw what Twitter did, and thought they could get away with doing the same
I could live without youtube for sure, I have more of a Reddit problem than a YouTube problem… but it seems they fixed that for me.
Mine is actually also a VPS, my electricity is too unstable to host at home :')
It’s pretty light though, 2GB RAM and 2vCPUs and about 10GB of space. It shot up to 9.5GB over a few days as people added more communities, then slowed down a lot. We have ~60 users as of now
I got march of shamed once because I genuinely forgot, it somehow shortcircuits my brain when I need to wait for approval, thinking I’ve already paid and walk out after waiting for the person to come tap some buttons :|