Notices by Zero :zt_think: :artix: (zero@strelizia.net), page 17
-
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Tuesday, 06-Jun-2023 00:46:24 JST Zero :zt_think: :artix: i play tearlaments havnis in attack mode and have sex with her, then i end my turn :rosemi_yugioh: -
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Monday, 05-Jun-2023 09:25:54 JST Zero :zt_think: :artix: anime horses be tempting me -
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Friday, 02-Jun-2023 02:08:45 JST Zero :zt_think: :artix: when ur wife's bf gets you that new switch game -
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Wednesday, 31-May-2023 20:59:55 JST Zero :zt_think: :artix: @mint @cassidyclown @i @Lumeinshin they called pernia tinypic in school -
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Monday, 29-May-2023 21:03:07 JST Zero :zt_think: :artix: @mint @meso @alex I think I just found one that works if the FE is in an improperly configured subdomain without CSP to block inline JS eugh -
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Monday, 29-May-2023 05:47:20 JST Zero :zt_think: :artix: @meso @alex same, maybe cause I'm on older PleromaFE tho -
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Sunday, 28-May-2023 11:09:11 JST Zero :zt_think: :artix: @s8n :blood::bullet::sleepycafe: :gun: -
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Sunday, 28-May-2023 00:58:37 JST Zero :zt_think: :artix: @mint @meso @i i think a better captcha is needed but maybe a more real solution is stealing something like this and having that on the register page along with the captcha
https://github.com/BaseSecrete/active_hashcash
idk how possible that is tho -
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Sunday, 28-May-2023 00:44:20 JST Zero :zt_think: :artix: @mint yeah the problem is having external deps, i may submit mine to the gitlab just so people can find it (plus my idea of downloading precompiled binaries) In conversation from strelizia.net permalink -
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Sunday, 28-May-2023 00:35:17 JST Zero :zt_think: :artix: Want captchas for Pleroma that may be harder to crack?
Pleroma uses a C captcha generator from huacnlee/rucaptcha on GitHub, but it’s an older version, and it has been updated to generate much stronger captchas now.The problem is that it’s now written in Rust, so I don’t think Pleroma devs will even think about accepting this upstream unless someone rewrites it in C/C++, but I did it anyway.
I modified the Rust code to be a cli and output the same thing the old C stuff did (https://github.com/animeavi/rucaptcha), so it’s a drop-in replacement. If you want you can even compile this on your own PC and replace the binary in /opt/pleroma/deps/captcha/priv and be done with it.
If you want to do it a more “proper” way, keep reading.
You need to install Rust+Cargo first of course.
Replace the existing :captcha in mix.exs for Pleroma with those values.
{:captcha, git: "https://github.com/animeavi/elixir-captcha.git", ref: "d280d06ae7ba7757a772567b9e608dba3a0c0ae2"},Then run mix deps.get and mix compile, all that good stuff, it will take a while because Rust lol, but you can keep the instance running while it compiles, and it should just work.
First two pics are current Pleroma captchas, last two are the new ones.
In conversation from strelizia.net permalink Attachments
-
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Saturday, 27-May-2023 03:10:02 JST Zero :zt_think: :artix: inviting the boys for a cold one and there's just a cooler filled with those In conversation from strelizia.net permalink Attachments
-
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Friday, 26-May-2023 04:47:09 JST Zero :zt_think: :artix: @Shadowman311 @BigDuck he will definitely try In conversation from strelizia.net permalink -
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Friday, 26-May-2023 04:47:04 JST Zero :zt_think: :artix: starting to think ralphie boy commissioned this data breach for very specific reasons In conversation from strelizia.net permalink Attachments
-
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Wednesday, 24-May-2023 08:35:51 JST Zero :zt_think: :artix: @boloros @Zerglingman @Kyonko802 im fucking dying In conversation from strelizia.net permalink Attachments
-
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Monday, 22-May-2023 01:25:24 JST Zero :zt_think: :artix: gamers when their rtx 4090 cables start melting for the 3rd time this week In conversation from strelizia.net permalink Attachments
-
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Sunday, 21-May-2023 01:03:21 JST Zero :zt_think: :artix: @meso @Moon @mint eugh i suppose it’s important to check if the user is remote on this one :02_derp2:
defmodule Pleroma.Web.ActivityPub.MRF.NoNewAccounts do @behaviour Pleroma.Web.ActivityPub.MRF.Policy # require Logger alias Pleroma.Config alias Pleroma.User defp is_remote?(host) do my_host = Config.get([Pleroma.Web.Endpoint, :url, :host]) my_host != host end @impl true def filter( %{ "type" => "Create", "actor" => actor } = message ) do actor_info = URI.parse(actor) user = User.get_cached_by_ap_id(actor) old_enough = Timex.shift(NaiveDateTime.utc_now(), days: -7) if( # actor_info.host == "pawoo.net" && is_remote?(actor_info.host) && Timex.to_unix(user.inserted_at) >= Timex.to_unix(old_enough) ) do # Logger.warn("[NoNewAccounts] Rejecting post from fresh account: #{user.nickname}!") {:reject, "[NoNewAccounts] Rejecting post from fresh account!"} else {:ok, message} end end @impl true def filter(object), do: {:ok, object} @impl true def describe, do: {:ok, %{}} endIn conversation from strelizia.net permalink -
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Saturday, 20-May-2023 22:40:41 JST Zero :zt_think: :artix: @meso @mint @Moon something like that maybe? Uuntested, but no compilation errors. I used a week, maybe that’s too much, easy to change tho.
defmodule Pleroma.Web.ActivityPub.MRF.NoNewAccounts do @behaviour Pleroma.Web.ActivityPub.MRF.Policy #require Logger @impl true def filter( %{ "type" => "Create", "actor" => actor } = message ) do _actor_info = URI.parse(actor) user = Pleroma.User.get_cached_by_ap_id(actor) old_enough = Timex.shift(NaiveDateTime.utc_now(), days: -7) if( # _actor_info.host == "pawoo.net" && Timex.to_unix(user.inserted_at) >= Timex.to_unix(old_enough) ) do #Logger.warn("[NoNewAccounts] Rejecting post from fresh account: #{inspect(user)}!") {:reject, "[NoNewAccounts] Rejecting post from fresh account!"} else {:ok, message} end end @impl true def filter(object), do: {:ok, object} @impl true def describe, do: {:ok, %{}} endIn conversation from strelizia.net permalink -
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Friday, 19-May-2023 21:04:50 JST Zero :zt_think: :artix: @MoeBritannica that one is cute tho In conversation from strelizia.net permalink -
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Friday, 19-May-2023 21:01:42 JST Zero :zt_think: :artix: @MoeBritannica she's fat and ugly In conversation from strelizia.net permalink -
Zero :zt_think: :artix: (zero@strelizia.net)'s status on Friday, 19-May-2023 20:58:06 JST Zero :zt_think: :artix: @MoeBritannica
you rn
self insert: :insane:
self insert, japan: :pippa_love:In conversation from strelizia.net permalink