mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Few updates phishing
This commit is contained in:
@@ -57,6 +57,8 @@ const sensitiveKeywords = createKeywordFilter([
|
||||
'facebook-com',
|
||||
'-facebook',
|
||||
'facebook-',
|
||||
'focebaak',
|
||||
'.facebook.',
|
||||
'metamask-',
|
||||
'-metamask',
|
||||
'www.apple',
|
||||
@@ -69,7 +71,9 @@ const sensitiveKeywords = createKeywordFilter([
|
||||
'inpost-pl',
|
||||
'login.microsoft',
|
||||
'login-microsoft',
|
||||
'google.com-'
|
||||
'microsoftonline',
|
||||
'google.com-',
|
||||
'minecraft'
|
||||
]);
|
||||
const lowKeywords = createKeywordFilter([
|
||||
'transactions-',
|
||||
@@ -78,6 +82,7 @@ const lowKeywords = createKeywordFilter([
|
||||
'-payment',
|
||||
'-faceb', // facebook fake
|
||||
'.faceb', // facebook fake
|
||||
'facebook',
|
||||
'virus-',
|
||||
'icloud-',
|
||||
'apple-',
|
||||
@@ -91,7 +96,8 @@ const lowKeywords = createKeywordFilter([
|
||||
'instagram',
|
||||
'microsoft',
|
||||
'passwordreset',
|
||||
'.google-'
|
||||
'.google-',
|
||||
'recover'
|
||||
]);
|
||||
|
||||
const cacheKey = createCacheKey(__filename);
|
||||
@@ -155,6 +161,9 @@ async function processPhihsingDomains(domainArr: string[]) {
|
||||
} else if (tld.length > 6) {
|
||||
domainScoreMap[apexDomain] += 2;
|
||||
}
|
||||
if (apexDomain.length >= 18) {
|
||||
domainScoreMap[apexDomain] += 0.5;
|
||||
}
|
||||
}
|
||||
if (
|
||||
subdomain
|
||||
|
||||
Reference in New Issue
Block a user