mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Improve Phishing score algorithm
This commit is contained in:
@@ -4,6 +4,11 @@ import { calcDomainAbuseScore } from './get-phishing-domains';
|
||||
|
||||
describe('sortDomains', () => {
|
||||
it('nmdj.pl', () => {
|
||||
console.log(calcDomainAbuseScore('.01462ccca801fed55370d79231c876e5.nmdj.pl', '.01462ccca801fed55370d79231c876e5', false));
|
||||
console.log(calcDomainAbuseScore('plikgier'));
|
||||
console.log(calcDomainAbuseScore('www.addgumtree'));
|
||||
console.log(calcDomainAbuseScore('zrz'));
|
||||
console.log(calcDomainAbuseScore('z1'));
|
||||
console.log(calcDomainAbuseScore('accountsettingaddrecoverymanagesiteupdatebillingreview.village'));
|
||||
console.log(calcDomainAbuseScore('allegrolokalnie'));
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user