mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
Add extra tokens to CI/build regex
Include additional common tokens (mgr, vds, word, runtime) in the build/CI server pattern inside isTokenObfuscated(). This prevents those tokens from being treated as obfuscated by the heuristic and reduces false positives when analyzing PE names.
This commit is contained in:
parent
d0bc44a4c3
commit
45f0a4ca16
1 changed files with 1 additions and 1 deletions
|
|
@ -3996,7 +3996,7 @@ function isTokenObfuscated(token) {
|
|||
|
||||
// Build/CI server patterns: buildbot, jenkins, gitlab-runner, etc.
|
||||
// Contains common CI/build keywords with hyphens/underscores
|
||||
if (token.match(/(?:krnl|buildbot|builder|jenkins|gitlab|runner|beta|alpha|client|relclient|steam|win(?:32|64|2)|x64|x86)/i)) return false;
|
||||
if (token.match(/(?:krnl|mgr|vds|word|runtime|buildbot|builder|jenkins|gitlab|runner|beta|alpha|client|relclient|steam|win(?:32|64|2)|x64|x86)/i)) return false;
|
||||
|
||||
|
||||
// === OBFUSCATION DETECTION ===
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue