* refactor: `checkDirectoryBruteforce` implementation
In this commit, the `checkDirectoryBruteforce` function has
been refactored for improved efficiency and clarity. The
previous logic involving file extension extraction and
replacement has been streamlined. The regex pattern is
created using the modified path directly. The
`regexp.MatchString` call has been adjusted to directly
match the pattern against the directory bruteforce data
stored in the threat data structure. This modification
improves functionality, ensures maintainability, and
accommodates dataset alterations as indicated in the
following source:
* https://groups.google.com/g/teler-announce/c/yZMkq5OPcgU
Signed-off-by: Dwi Siswanto <me@dw1.io>
* chore: update bench
---------
Signed-off-by: Dwi Siswanto <me@dw1.io>