Browse Source

Update CDN & Domestic Hosts

SukkaW 1 year ago
parent
commit
6811b23acd
3 changed files with 10 additions and 6 deletions
  1. 6 6
      Build/lib/get-phishing-domains.ts
  2. 3 0
      Source/domainset/cdn.conf
  3. 1 0
      Source/non_ip/domestic.conf

+ 6 - 6
Build/lib/get-phishing-domains.ts

@@ -143,7 +143,7 @@ const processPhihsingDomains = cache(function processPhihsingDomains(domainArr:
     if (!(apexDomain in domainScoreMap)) {
       domainScoreMap[apexDomain] = 0;
       if (BLACK_TLD.has(tld)) {
-        domainScoreMap[apexDomain] += 4;
+        domainScoreMap[apexDomain] += 3;
       } else if (tld.length > 6) {
         domainScoreMap[apexDomain] += 2;
       }
@@ -166,16 +166,16 @@ const processPhihsingDomains = cache(function processPhihsingDomains(domainArr:
       || (domainScoreMap[apexDomain] >= 16 && domainCountMap[apexDomain] >= 7)
       || (domainScoreMap[apexDomain] >= 13 && domainCountMap[apexDomain] >= 11)
       || (domainScoreMap[apexDomain] >= 5 && domainCountMap[apexDomain] >= 14)
-      || (domainScoreMap[apexDomain] >= 3 && domainCountMap[apexDomain] >= 20)
+      || (domainScoreMap[apexDomain] >= 3 && domainCountMap[apexDomain] >= 21)
     ) {
       domainArr.push('.' + apexDomain);
     }
   }
 
-  // console.log({
-  //   score: domainScoreMap['shoppy.gg'],
-  //   count: domainCountMap['shoppy.gg']
-  // });
+  console.log({
+    score: domainScoreMap['flk-ipfs.xyz'],
+    count: domainCountMap['flk-ipfs.xyz']
+  });
 
   return Promise.resolve(domainArr);
 }, {

+ 3 - 0
Source/domainset/cdn.conf

@@ -2796,6 +2796,7 @@ screenshots.downloadtorrentfile.com
 cdn.auth0.com
 cdn.freshdesk.com
 static.typingclub.com
+videos2.edclub.com
 assets.byteplus.com
 static.meiguo.com
 assets.safing.io
@@ -3230,3 +3231,5 @@ image.4fuk.org
 .doodcdn.co
 .cloudatacdn.com
 .fastlycdn.com
+media.datacenterdynamics.com
+static.ahrefs.com

+ 1 - 0
Source/non_ip/domestic.conf

@@ -481,6 +481,7 @@ DOMAIN-SUFFIX,duba.net
 DOMAIN-SUFFIX,dxy.cn
 DOMAIN-SUFFIX,dxycdn.com
 DOMAIN-SUFFIX,eastmoney.com
+DOMAIN-SUFFIX,ebay.cn
 DOMAIN-SUFFIX,eudic.net
 DOMAIN-SUFFIX,fang.com
 DOMAIN-SUFFIX,feng.com