From b675c95b78c140216861f2f502ea532905e415fa Mon Sep 17 00:00:00 2001 From: Le Alternative Date: Sun, 12 Dec 2021 13:25:50 +0100 Subject: [PATCH] Aggiungi 'blacklist.php' --- blacklist.php | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 blacklist.php diff --git a/blacklist.php b/blacklist.php new file mode 100644 index 0000000..0315d7a --- /dev/null +++ b/blacklist.php @@ -0,0 +1,113 @@ + $chat_id, + 'message_id' => $message_id, + 'text' => " +ciao $username,\nquello che hai linkato è un canale Telegram famoso per non essere una fonte affidabile. La lista dei siti non affidabili è presa da Butac.it", +'parse_mode' => 'HTML', +'disable_web_page_preview' => true + ); + $telegram->sendMessage($content); + $telegram->deleteMessage($content); + } + +// SITI IN BLACKLIST + +if ((stripos($text,'DataBaseItalia.it') !== false) || + (stripos($text,'mariagrazias.com/') !== false) || + (stripos($text,'musicaeanima.com') !== false) || + (stripos($text,'neovitruvian.com') !== false) || + (stripos($text,'summit.news') !== false) || + (stripos($text,'thelivingspirits.net') !== false) || + (stripos($text,'vigilantcitizen.com') !== false) || + (stripos($text,'zerohedge.com') !== false) || + (stripos($text,'ilmeteo.it') !== false) || + (stripos($text,'Frasideilibri.com') !== false) || + (stripos($text,'Nonsiamosoli.net') !== false) || + (stripos($text,'nogeoingegneria.com') !== false) || + (stripos($text,'ricercaindipendente.net') !== false) || + (stripos($text,'segnidalcielo.it') !== false) || + (stripos($text,'0585News.com') !== false) || + (stripos($text,'100giornidaleoni.it') !== false) || + (stripos($text,'5stellenews.com') !== false) || + (stripos($text,'ADFnews.it') !== false) || + (stripos($text,'AGENews.eu') !== false) || + (stripos($text,'All-News.tv') !== false) || + (stripos($text,'AllNews24.eu') !== false) || + (stripos($text,'attaccomirato.com') !== false) || + (stripos($text,'Bastabugie.it') !== false) || + (stripos($text,'blognews24ore.com') !== false) || + (stripos($text,'Borderlinez.com') !== false) || + (stripos($text,'Breaknotizie.com') !== false) || + (stripos($text,'byoblu.com') !== false) || + (stripos($text,'Buonamente.com') !== false) || + (stripos($text,'catenaumana.com') !== false) || + (stripos($text,'Chesuccede.it') !== false) || + (stripos($text,'comedonchisciotte.org') !== false) || + (stripos($text,'Condividilo.org') !== false) || + (stripos($text,'Corrieredisera.it') !== false) || + (stripos($text,'Direttanews.it') !== false) || + (stripos($text,'Direttanews24.com') !== false) || + (stripos($text,'essere-informati.it') !== false) || + (stripos($text,'giornaleilsole.com') !== false) || + (stripos($text,'ilgiornaleitaliano.it') !== false) || + (stripos($text,'ilgiornalenews.com') !== false) || + (stripos($text,'globo365.info') !== false) || + (stripos($text,'grandeinganno.it') !== false) || + (stripos($text,'Guarda.link') !== false) || + (stripos($text,'imolaoggi.it') !== false) || + (stripos($text,'nobufale.it') !== false) || + (stripos($text,'Perdavvero.com') !== false) || + (stripos($text,'PioveGovernoLadro.info') !== false) || + (stripos($text,'Sostenitori.info') !== false) || + (stripos($text,'ticinolive.ch') !== false) || + (stripos($text,'Tutto24.info') !== false) || + (stripos($text,'Tuttoinweb.com') !== false) || + (stripos($text,'Ultimora24.it') !== false) || + (stripos($text,'Videoenotizie.it') !== false) || + (stripos($text,'Vocedelweb.com') !== false) || + (stripos($text,'Videoviraliweb.com') !== false) || + (stripos($text,'Autismovaccini.org') !== false) || + (stripos($text,'MedNat.org') !== false) || + (stripos($text,'Vivoinsalute.com') !== false) || + (stripos($text,'centrometeoitaliano.it') !== false) || + (stripos($text,'luogocomune.net') !== false) || + (stripos($text,'pandoratv.it') !== false) || + (stripos($text,'kontrokultura.it') !== false) || + (stripos($text,'viralmagazine.it') !== false)) + { + $content = array( + 'chat_id' => $chat_id, + 'message_id' => $message_id, + 'text' => " +ciao $username,\nquello che hai linkato è un sito famoso per non essere una fonte affidabile. La lista dei siti non affidabili è curata da Butac.it", +'parse_mode' => 'HTML', +'disable_web_page_preview' => true + ); + $telegram->sendMessage($content); + $telegram->deleteMessage($content); + } + +?> \ No newline at end of file