Strengthen Phishing Score Calculation

This commit is contained in:
SukkaW
2025-12-10 13:48:30 +08:00
parent 525a0948c9
commit be2262e51b
3 changed files with 11 additions and 8 deletions

View File

@@ -105,8 +105,10 @@ const pool = new Worktank({
} else {
if (BLACK_TLD.has(tld)) {
score += 3;
} else if (tld.length > 6) {
} else if (tld.length > 4) {
score += 2;
} else if (tld.length > 5) {
score += 4;
}
if (apexDomain.length >= 18) {
score += 0.5;