cmd/anubis: amend generic browser challenge to "Gecko"

I'm gonna be honest, this is an extreme galaxy brain strategy and I'm
not entirely sure if this will pan out. However I got the idea when
reading [a community post][0]

If this works, that would be so much funnier than just using "Mozilla"
in the rules. I think that this could greatly backfire though, which is
why I'm making a pull request and opening this for feedback from the
community.

It would be absolutely hilarious if this works though.

[0]: https://github.com/TecharoHQ/anubis/discussions/68#discussioncomment-12583134
This commit is contained in:
Xe Iaso
2025-03-22 09:17:33 -04:00
parent 15d801be7d
commit 44efcea781
2 changed files with 4 additions and 2 deletions

View File

@@ -390,9 +390,9 @@
},
{
"name": "generic-browser",
"user_agent_regex": "Mozilla",
"user_agent_regex": "(?i:gecko|applewebkit)",
"action": "CHALLENGE"
}
],
"dnsbl": true
}
}

View File

@@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
- Fixed and clarified installation instructions
- Changed default challenge logic for "Gecko" or "AppleWebkit" in the User-Agent string
instead of "Mozilla" [#78](https://github.com/TecharoHQ/anubis/pull/78)
## v1.14.2