Closed dwisiswant0 closed 1 year ago
Patch coverage: 100.00%
and project coverage change: +0.16%
:tada:
Comparison is base (
8b45daf
) 80.83% compared to head (3887b49
) 81.00%. Report is 2 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
IMPORTANT: Please do not create a PR without creating an issue first!
(Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request).
Summary
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. Theregexp.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:Proposed of changes
This PR fixes/implements the following bugs/features:
How has this been tested?
Proof:
Closing issues
Fixes #
Checklist:
make lint
).