mirror of
https://github.com/pezkuwichain/phishing.git
synced 2026-04-22 06:48:04 +00:00
Additional cron address checks (#202)
This commit is contained in:
+6
-1
@@ -1,9 +1,13 @@
|
||||
{
|
||||
"claimpolka.com": [
|
||||
"12jo5dBMedbma3XcU6Grj7m6ckeupjg4aj9Q1oFyK3Z7oh3"
|
||||
],
|
||||
"claimpolka.live": [
|
||||
"12aCLUsyTCWn5Dzf5wxuuRm93dx9rkAF5rqw9zBDTV5NSY1E"
|
||||
],
|
||||
"claimpolkadot.com": [
|
||||
"16haZsnTpsAK3PaqRJJE16Zasq9WkpovgUCdQGStKHMskLdp"
|
||||
"16haZsnTpsAK3PaqRJJE16Zasq9WkpovgUCdQGStKHMskLdp",
|
||||
"1SvcGb9f2gysJAqwox5sTQpyyKjtDUaz4q5RUYANB6uFkQw"
|
||||
],
|
||||
"dot21.net": [
|
||||
"1Z5ohZkHN4TjWeKpcA3tqpd4uNSA3r9fzsEG9aviDUWAeo2"
|
||||
@@ -109,6 +113,7 @@
|
||||
"12BSDyhSV4XXmBXcgKTnsMi6e4ir56ttufiXB36x7v4utRNw",
|
||||
"15TZMmGy3eX6FJqCJHLir4KSnd5ECUukFVvgfEPCuDhe8asx",
|
||||
"161tc4jLym61rz84WaxqBiiBovmH2FmnKGVDKcZyquwUxJEg",
|
||||
"166a8ThxgaTseVJ5ado3qmyg9YkYfys81uNw94PTZceAmZoX",
|
||||
"16C6TrBTi7VohiMguZeSCNPxwqYTR9eWWoQsbwnJ7wtJTD2N",
|
||||
"16UDgowT2DEEk73EX2bB5c5HmuvJrLvmWsGomWmyK3CqyzVz"
|
||||
],
|
||||
|
||||
@@ -71,9 +71,7 @@ function checkAttr (url: string, attr: string): Promise<[string, string[]]> {
|
||||
|
||||
return loopSome(site, async (): Promise<string[] | null> => {
|
||||
const result = await (await fetchWithTimeout(url)).text();
|
||||
|
||||
const regex = new RegExp(`${attr}"[a-zA-Z0-9]+"`, 'g');
|
||||
const match = regex.exec(result);
|
||||
const match = new RegExp(`${attr}"[a-zA-Z0-9]+"`, 'g').exec(result);
|
||||
|
||||
return match && match.length
|
||||
? [match[0].replace(new RegExp(attr, 'g'), '').replace(/"/g, '').trim()]
|
||||
@@ -94,12 +92,14 @@ function checkAll (): Promise<[string, string[]][]> {
|
||||
].map((u) => checkTag(u, 'p', 'id="trnsctin"')),
|
||||
checkTag('https://polkadot.activebonus.live/claim/', 'span', 'id="trnsctin"'),
|
||||
...[
|
||||
'https://claimpolka.com/claim/index.html',
|
||||
'https://claimpolka.live/claim/index.html',
|
||||
'https://claimpolkadot.com/claim/index.html',
|
||||
'https://polkadot-airdrop.org/block/index.html',
|
||||
'https://polkadot-airdrop.online/block/index.html',
|
||||
'https://polkadot-airdropevent.network/block/index.html',
|
||||
'https://polkadot-airdrops.net/block/index.html',
|
||||
'https://polkadot-bonus.live/dot/index.html',
|
||||
'https://polkadot-bonus.network/block/index.html',
|
||||
'https://polkadot.deals/claim/index.html'
|
||||
].map((u) => checkTag(u, 'span', 'class="real-address"')),
|
||||
@@ -118,14 +118,18 @@ function checkAll (): Promise<[string, string[]][]> {
|
||||
].map((u) => checkTag(u, 'h5', 'class="transaction-address"')),
|
||||
...[
|
||||
'https://getpolkadot.us/',
|
||||
'https://musk-in.com'
|
||||
'https://musk-in.com',
|
||||
'https://polkadot-autopool.com/dot/index.html'
|
||||
].map((u) => checkAttr(u, 'data-clipboard-text=')),
|
||||
...[
|
||||
'https://kusama-wallet.com/wallet.php',
|
||||
'https://polkadot-wallet.org/wallet.php'
|
||||
].map((u) => checkAttr(u, 'id="copyTarget" value=')),
|
||||
checkTag('https://polkadotairdrop.com/address/', 'cool'),
|
||||
checkTag('https://polkadot-online.live/nnn/polkadot-live.online/block/index.html', 'p', 'id="t12uEsctin"')
|
||||
...[
|
||||
'https://polkadot-online.com/nnn/polkadot-live.online/block/index.html',
|
||||
'https://polkadot-online.live/nnn/polkadot-live.online/block/index.html'
|
||||
].map((u) => checkTag(u, 'p', 'id="t12uEsctin"')),
|
||||
checkTag('https://polkadotairdrop.com/address/', 'cool')
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user