mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-17 13:54:59 +00:00
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:
@@ -390,9 +390,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "generic-browser",
|
"name": "generic-browser",
|
||||||
"user_agent_regex": "Mozilla",
|
"user_agent_regex": "(?i:gecko|applewebkit)",
|
||||||
"action": "CHALLENGE"
|
"action": "CHALLENGE"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dnsbl": true
|
"dnsbl": true
|
||||||
}
|
}
|
||||||
@@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
- Fixed and clarified installation instructions
|
- 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
|
## v1.14.2
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user