Compare commits

...

2 Commits

Author SHA1 Message Date
Xe Iaso
efe648f2af Apply suggestions from code review
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-03-22 11:27:16 -04:00
Xe Iaso
44efcea781 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
2025-03-22 09:23:03 -04:00
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)",
"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" in the User-Agent string
instead of "Mozilla" [#78](https://github.com/TecharoHQ/anubis/pull/78)
## v1.14.2