fix
This commit is contained in:
parent
65f1305e32
commit
d0320051b4
@ -44,7 +44,7 @@ if (msg.event.kind === 0) {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
let mastodon: (string | number)[] = ['waskuisland','cyberpunk','sauropods','thicc','blovice','piggo','io-mwl.io','official.resource.org','cuties.zone','o3o.ca','mas.corq.co','snac.lowkey.party','nicecrew.digital','gravure','packmates','spinster','alive.bar','pawoo','prsm.space','miniwa.moe','netzsphaere','varishangout','godforsaken.website','zirk.us','fediscience.org','shota','.uk','.eu','.de','.it','ravenation.club','declin.eu','furry','101010.pl','boing.world','socel.net','freeradical.zone','stefanbohacek.online','queer','hellions.cloud','absturztau','freefree.ps','mast','fedi.monster','womenforward.us','threads','masto','connectop.us','dice.camp','orfodon.org','m.moec.top','aethy.com','anakmanis.com','flipboard.com','eclipse.pub','blimps.xyz','bsky.social','glammr.us','pubeurope.com','spookygirl.boo','woem.men','universeodon.com','masto.es','loforo.com','india.goonj.xyz','xscape.club','digipres.club','troet.cafe','beige.party','theres.life','imm-erge','writing.exchange','bsky','fxckedtodeath','fedibird','accioly','baraag', 'girlcock.club','rape.pet','peoplemaking.games','gay','mas.to','abraham.su','lgbt','fosstodon','bae.st','bsky','liberal.city','mastodon.bot','botsin.space','a2mi.social','.au','masto.host','mastodon.online','social.beaware.live','nofan.xyz','mastodon.social','mstdn','mathstodon','universeodon','infosec', 'mastdn', 'kitty.social', 'c.im', '.jp', '.de', '.fr', 'toot', 'mastodon', 'misskey', 'journa.host', 'social', 'eldritchcafe', 'hachyderm', 'plush.city','kinky', 'chaosfem']
|
let mastodon: (string | number)[] = ['noauthority.social','dragonchat.org','halo.nu','wizard.casa','boymilk','pieville.net','freeatlantis.com','partyon.xyz','eepy.express','frikiverse.zone','ai6yr','dresden.network','cr8r.gg','tuusin','snac.bsd.cafe.mostr.pub','pynews.com.br','momo.mame.moe','tldr.nettime.org','better.boston','bolha.us','ottawa.place','craftgoblin.club','hispagatos.space','orwell','puppyspace','khiar.net','smutlandia','furville','mysportgallery','net4sw.com','filthy.love','musicians.today','waldvogel','meisskey','thefolklore.cafe','fandom.ink','witter.cz','einverne','talk.marq42','amicale.net','xoxo.zone','zotum.net','persadon.com','me.dm','puntarella','eepy.express','electricrequiem','cunny','todon.nl','appdot.net','dill.burggit','moonbow','sports','wxw.moe','scicomm','sunny.garden','wandering.shop','tkz','jazztodon','fedi','bgme','hacky.town','retro','chitter','adtools','newsmast','jasette','twtr','shota','qoto','flipping.rocks','waskuisland','cyberpunk','sauropods','thicc','blovice','piggo','io.mwl.io','official.resource.org','cuties.zone','o3o.ca','mas.corq.co','snac.lowkey.party','gravure','packmates','spinster','alive.bar','pawoo','prsm.space','miniwa.moe','netzsphaere','varishangout','godforsaken.website','zirk.us','fediscience.org','shota','.uk','.eu','.de','.it','ravenation.club','declin.eu','furry','101010.pl','boing.world','socel.net','freeradical.zone','stefanbohacek.online','queer','hellions.cloud','absturztau','freefree.ps','mast','fedi.monster','womenforward.us','threads','masto','connectop.us','dice.camp','orfodon.org','m.moec.top','aethy.com','anakmanis.com','flipboard.com','eclipse.pub','blimps.xyz','bsky.social','glammr.us','pubeurope.com','spookygirl.boo','woem.men','universeodon.com','masto.es','loforo.com','india.goonj.xyz','xscape.club','digipres.club','troet.cafe','beige.party','theres.life','imm.erge','writing.exchange','bsky','fxckedtodeath','fedibird','accioly','baraag', 'girlcock.club','rape.pet','peoplemaking.games','gay','mas.to','abraham.su','lgbt','fosstodon','bae.st','bsky','liberal.city','mastodon.bot','botsin.space','a2mi.social','.au','masto.host','mastodon.online','social.beaware.live','nofan.xyz','mastodon.social','mstdn','mathstodon','universeodon','infosec', 'mastdn', 'kitty.social', 'c.im', '.jp', '.de', '.fr', 'toot', 'mastodon', 'misskey', 'journa.host', 'social', 'eldritchcafe', 'hachyderm', 'plush.city','kinky', 'chaosfem']
|
||||||
|
|
||||||
const p = msg.event.tags.filter((tag) => tag[0] === 'p');
|
const p = msg.event.tags.filter((tag) => tag[0] === 'p');
|
||||||
const e = msg.event.tags.filter((tag) => tag[0] === 'e');
|
const e = msg.event.tags.filter((tag) => tag[0] === 'e');
|
||||||
@ -86,7 +86,7 @@ if (msg.event.kind === 0) {
|
|||||||
if (proxy.length > limit) {
|
if (proxy.length > limit) {
|
||||||
for (let search of mastodon) {
|
for (let search of mastodon) {
|
||||||
if (proxy.length > limit) {
|
if (proxy.length > limit) {
|
||||||
if(proxy.toString().indexOf('noauthority') > -1 || proxy.toString().indexOf('iddqd') > -1) {
|
if(proxy.toString().indexOf('iddqd') > -1) {
|
||||||
return {
|
return {
|
||||||
id: msg.event.id,
|
id: msg.event.id,
|
||||||
action: 'accept',
|
action: 'accept',
|
||||||
|
@ -20,12 +20,43 @@ for await (const msg of readStdin()) {
|
|||||||
const result = await pipeline(msg, [
|
const result = await pipeline(msg, [
|
||||||
tagPolicy,
|
tagPolicy,
|
||||||
[rateLimitPolicy, { whitelist: ['127.0.0.1', '192.168.0.55', '192.168.0.1','192.168.0.0/24'] }],
|
[rateLimitPolicy, { whitelist: ['127.0.0.1', '192.168.0.55', '192.168.0.1','192.168.0.0/24'] }],
|
||||||
[regexPolicy, /(==|program-ai.app|#transgender|#trans|#LGBTQ|#LGBTQIA|simpleX|1-1111-1|1-1-1-1|-----END|Sensor data:|"part"|경|TURIZBOT|If you want this to stop|DID YOU MISS ME?|This is a post from|DYNAMITE|#Rogule|MPN:|Author:|#blowjob|ア|サ|#gedanken|#lust|#nude|#sexy|#lingerie|이|#gay|#cock|#cum|#frots|==========|===============|리|#perverted|#pissing|#kinky|#fetish|ミ|今|シ|ロ|タ|ワ|일|ヤ|メ|コ|中|#regexle|自|ゥ|フ|月|ĝ|手|川|ぁ|什|マ|ル|ブ|ぺ|ぇ|円|万|キ|ャ|り|予|ㅋ|어|할|음|디|지|で|ノ|ス|ミ|ぐ|え|フ|ラ|れ|ゴ|タ|キ|ク|イ|ก|น|พื่|ド|モ|ふ|む|theYescoin_bot|休|ン|ァ|二|を|下|出|門|へ|ぱ|し|首|大|子|소|트|든|소|#Worldle|아|대|인|百|合|東|ふ|む|牛|跨|界|บ|งั|ぴ|よ|ね|ウ|ボ|ァ|沖|田|#decreasingfees|"ping"|常|可|非|#metazooa|ã|ú|#WhereTaken|#Lingule|き|チ|~|จั|ลั|ม|ü|ส|น่|说|胡|#Swarm_to_Nostr|ą|ę|Hello World!|#pastpuzzle|#Polygonle|上|几|哈|#waffle|ぃ|ひ|ค่|め|こ|わ|女|头|É|botsin|克|ッ|ー|ア|か|示|来|ç|à|に|う|ろ|早|ハ|だ|ガ|#Horoscope|ハ|オ|ヨ|#feesbelow10|#feesbelow20|utxo|õ|た|い|お|í|じ|ま|ご|europesays|元|不|一|replicatr|✄|屁|〜|良|す|る|了|#caturday|人|#Ukraine|#labor|ぽ|ゆ|林|黑|Wordle|ć|ś|#Bot|ñ|ん|#Airport|も|yadio|SELLEUR|ö|ä|н|ч|и|п|д|ê|á|สุ|ด|는|보|trojan|siam|は|ン|ス|ッ|nhk|っ|ー|の|て|サ|ة|ك|หิ|あ|と|rss|eth.limo|vmess|ク|ょ|日|立|ら|リ|#ass|#pussy|#reddit|#porn|telegra.ph|재|서|다|한|로)/i],
|
[regexPolicy, /(embedded-sunset|ย|==|program-ai.app|#transgender|#trans|#LGBTQ|#LGBTQIA|simpleX|1-1111-1|1-1-1-1|-----END|Sensor data:|"part"|경|TURIZBOT|If you want this to stop|DID YOU MISS ME?|This is a post from|DYNAMITE|#Rogule|MPN:|Author:|#blowjob|ア|サ|#gedanken|#lust|#nude|#sexy|#lingerie|이|#gay|#cock|#cum|#frots|==========|===============|리|#perverted|#pissing|#kinky|#fetish|ミ|今|シ|ロ|タ|ワ|일|ヤ|メ|コ|中|#regexle|自|ゥ|フ|月|ĝ|手|川|ぁ|什|マ|ル|ブ|ぺ|ぇ|円|万|キ|ャ|り|予|ㅋ|어|할|음|디|지|で|ノ|ス|ミ|ぐ|え|フ|ラ|れ|ゴ|タ|キ|ク|イ|ก|น|พื่|ド|モ|ふ|む|theYescoin_bot|休|ン|ァ|二|を|下|出|門|へ|ぱ|し|首|大|子|소|트|든|소|#Worldle|아|대|인|百|合|東|ふ|む|牛|跨|界|บ|งั|ぴ|よ|ね|ウ|ボ|ァ|沖|田|#decreasingfees|"ping"|常|可|非|#metazooa|ã|ú|#WhereTaken|#Lingule|き|チ|~|จั|ลั|ม|ü|ส|น่|说|胡|#Swarm_to_Nostr|ą|ę|Hello World!|#pastpuzzle|#Polygonle|上|几|哈|#waffle|ぃ|ひ|ค่|め|こ|わ|女|头|É|botsin|克|ッ|ー|ア|か|示|来|ç|à|に|う|ろ|早|ハ|だ|ガ|#Horoscope|ハ|オ|ヨ|#feesbelow10|#feesbelow20|utxo|õ|た|い|お|í|じ|ま|ご|europesays|元|不|一|replicatr|✄|屁|〜|良|す|る|了|#caturday|人|#Ukraine|#labor|ぽ|ゆ|林|黑|Wordle|ć|ś|#Bot|ñ|ん|#Airport|も|yadio|SELLEUR|ö|ä|н|ч|и|п|д|ê|á|สุ|ด|는|보|trojan|siam|は|ン|ス|ッ|nhk|っ|ー|の|て|サ|ة|ك|หิ|あ|と|rss|eth.limo|vmess|ク|ょ|日|立|ら|リ|#ass|#pussy|#reddit|#porn|telegra.ph|재|서|다|한|로)/i],
|
||||||
[keywordPolicy, ['https://media.channels.im','pay rent','Revealing nonce:','NostrDice','npub1q6ps7m94jfdastx2tx76sj8sq4nxdhlsgmzns2tr4xt6ydx6grzspm0kxr','My goals:','TURDISMO','https://media.fops.cloud','https://t.co','https://witter.cz','https://cdn.noods.fun','https://thumbsnap.com','https://paste.gmem.ca','https://x.com','https://kneel.before.dog','https://media.nofan.xyz','https://stockroom.wandering.shop','https://quark.scrolller.com','https://www.manyvids.com','https://fansly.com','https://onlyfans.com','https://proton.scrolller.com','https://api-test.summary.news','https://fans.ly','https://figure.game','https://link.storjshare.io','https://open.spotify.com','https://t.me/','https://nyc3.digitaloceanspaces.com']],
|
[keywordPolicy, ['https://media.channels.im','pay rent','Revealing nonce:','NostrDice','npub1q6ps7m94jfdastx2tx76sj8sq4nxdhlsgmzns2tr4xt6ydx6grzspm0kxr','My goals:','TURDISMO','https://media.fops.cloud','https://t.co','https://witter.cz','https://cdn.noods.fun','https://thumbsnap.com','https://paste.gmem.ca','https://x.com','https://kneel.before.dog','https://media.nofan.xyz','https://stockroom.wandering.shop','https://quark.scrolller.com','https://www.manyvids.com','https://fansly.com','https://onlyfans.com','https://proton.scrolller.com','https://api-test.summary.news','https://fans.ly','https://figure.game','https://link.storjshare.io','https://open.spotify.com','https://t.me/','https://nyc3.digitaloceanspaces.com']],
|
||||||
[pubkeyBanPolicy, [
|
[pubkeyBanPolicy, [
|
||||||
'39a354c6c987abfaf78947e71f856bd0d074c7dbb793e614b7db9efd058071b9',
|
'39a354c6c987abfaf78947e71f856bd0d074c7dbb793e614b7db9efd058071b9',
|
||||||
'f9a0cb53543584f348bdb7e14bf19066610a8e1b63c8aa83f3dd36f93f634b46',
|
'f9a0cb53543584f348bdb7e14bf19066610a8e1b63c8aa83f3dd36f93f634b46',
|
||||||
'8dafd6b18b5a71088bf7ea38a5019b1ac6dafd235d344fc313041213462bf843',
|
'8dafd6b18b5a71088bf7ea38a5019b1ac6dafd235d344fc313041213462bf843',
|
||||||
|
'096c0beaac04ac872a68b32106bfec6218ee39386f9e750daefbfbd1189305aa',
|
||||||
|
'97eefe562dec19044c5f70ddc91934f1efed36922fa73a5195d1a0517ae246af',
|
||||||
|
'f79dc7c5a83684b2f4b76e48ff14234ba9f64a8dbed4f156c5d2d3ae6f4295bc',
|
||||||
|
'09e317b8a752b23a2a8af9a8ee9e21607bb338823bb88c6e75e52ad7ad862f3d',
|
||||||
|
'407e97786bc1c9034da3a53699757eb93832b1998caf48688ac83764a111b3df',
|
||||||
|
'e7bf8dad360828f0289b7b4bea1a1bd28eb6d4d6522fa17f957e0dfb839ef3db',
|
||||||
|
'f03df3d4134230420cdf7acbb35f96a2542424246ab052ba24c6fec6a4d4f676',
|
||||||
|
'973ce88083b0adf4996475ffb981601e5bc76d95f7098ca101e87fac48ab9c22',
|
||||||
|
'eb8d73d31477612d3db55719b1705d57192e89292efd0b214c4f8ca49d04b3ac',
|
||||||
|
'9235b153b58c427517dfb3abd2e03ad9694dad76121ab2dd7b45a4d0bd52bcb7',
|
||||||
|
'973ce88083b0adf4996475ffb981601e5bc76d95f7098ca101e87fac48ab9c22',
|
||||||
|
'9235b153b58c427517dfb3abd2e03ad9694dad76121ab2dd7b45a4d0bd52bcb7',
|
||||||
|
'0a7433c1976392c19947971b7df53fb040b7c6c3bef40af29ed8a79ea30ec7ef',
|
||||||
|
'c21ec68306aebba0616353d915fc65bc7d09be55b809552b0271ec050abb6700',
|
||||||
|
'2b2d1a405a427c935a4520ab8497d66fc97a67f684fda3646d819aedf67d2247',
|
||||||
|
'6075fe3c7332a82a2183f538de67f2f7588814dac6b2f09d650fda4707d19c98',
|
||||||
|
'd2a26667797af028ac5ae2325b81f2d5a8da7bf80c8610b6d726422a6ae9d875',
|
||||||
|
'd2cb6de11285fc8dc60a12d6953dc5e7ff24155e83c63088076f9fea84fc07ee',
|
||||||
|
'1ae011cb34999af15602a2aa927f32bb92d65f6161ed71abdaa4f50c1257a556',
|
||||||
|
'1ae011cb34999af15602a2aa927f32bb92d65f6161ed71abdaa4f50c1257a556',
|
||||||
|
'7b556fe6827be8a4f9969b08e8028915cf191de64213c0b63f7a17993e00b293',
|
||||||
|
'206cb01a6b6f97dc3f8e2e9b106005911ed4ff19a992c682969a760108fe8c66',
|
||||||
|
'2cde46258f7cd37d88323be6d3778da041f00b6866f3c8c37ed9e0457cf4a81f',
|
||||||
|
'1bb3dc09eb1c3e8b233987c0d6acb51c7293f7451cc5c7c6d9097490c15b23e4',
|
||||||
|
'2d875ab7c2bb5684f374d0eba36060d64eccc11526b985f29af7653e449b084a',
|
||||||
|
'2b14efa5b01b30dbcbecb2b8353904c45fcfafda4fee4177abcba93ac55dd76f',
|
||||||
|
'22d7024c72da41ee93b3a99cd19157f461c1c9eeb545f620c3eea6bd62f9b305',
|
||||||
|
'c3b4ad337ff8859cca9638b370cef2cb30782c185c16d83b7f983a7a18cf425f',
|
||||||
|
'2d1f0804fd31064c5ac6dcca8cc7bf5b6e33bafbeae22682fa8f8d46b03442ca',
|
||||||
|
'9c5d08bf540a89f3e42945245674dce956257e71e501136b1091fb4eb30ace7c',
|
||||||
|
'44fb3ede21f5b9f1eebf8ed1ca1f92a88d726eae0c59ca3934e6c97ce4c7d6e1',
|
||||||
'de5d55ba5382280b757d65775fe601cf137cf0489497159c7d85931d0474a8ba',
|
'de5d55ba5382280b757d65775fe601cf137cf0489497159c7d85931d0474a8ba',
|
||||||
'0432dca25e4ad7a62308efbb32c7592d4b00a6aa850ef4486b0e056b205a91da',
|
'0432dca25e4ad7a62308efbb32c7592d4b00a6aa850ef4486b0e056b205a91da',
|
||||||
'a3a2314919d99ec5e461be352135fcc49d498dab1d3bff8065b14e8d612b8c7d',
|
'a3a2314919d99ec5e461be352135fcc49d498dab1d3bff8065b14e8d612b8c7d',
|
||||||
|
Loading…
Reference in New Issue
Block a user