Skip to content

v1.1.2

  • v1.1.2
  • e406405
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
  • Choose a tag to compare

  • v1.1.2
  • e406405
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@dwisiswant0 dwisiswant0 tagged this 19 Aug 12:13
* 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>
Assets 2
Loading