/************************************************************************/ /* NO SPAM ATTACK 3.1 */ /* Patch security against spam attacks */ /* POWERED FOR PHP_NUKE 7.6 3b */ /* By Reset74 */ /* Contact:reset74@libero.it www.la-bibbia.it www.windowx.it */ /*This patch is available for download to www.windowx.it */ /* Contact:reset74@libero.it www.la-bibbia.it www.windowx.it */ /* Please, not remove credits and banner */ /************************************************************************/ NO SPAM ATTACK 3.1 No Spam Attack 3.0 nasce nel 2008 per evitare lo spam nei commenti delle News dei portali web costruiti con php-nuke. Il modulo è rilasciato in GNU-GPL (freeware), con la limitazione di lasciare inalterati banner, link e credits dove presenti. La versione di No Spam Attack 3.1, rilasciata nel 2009, protegge dallo spam i Moduli Nuke News e Web Links per i commenti e invio web-link con il captcha code e con un filtro di parole associate allo spam, Private Messagge con captcha code, e il blocco e il modulo Login da brute-force attack. Tutti i moduli sono protetti con massimo 3 tentativi, dopo scatta no spam attack, le informazioni relative allo spammer e al modulo attaccato vengono registrate nel file infoattackspam.txt, usato come data-base, accessibile dal pannello admin. No Spam Attack 3.1 è rilasciato in GNU-GPL (freeware), con la limitazione di lasciare inalterati banner, link e credits dove presenti.Se migliorate il modulo, inviate le modifiche alla mia email (reset74@libero.it) per il rilascio di una nuova versione. <------> No Spam Attack 3.0 born in 2008 avoid spam in the comments of News Web portal built with php-nuke. The form is issued GNU-GPL (freeware), with the limitation to leave unchanged banner, links and credits where present. The version of No Spam Attack 3.1, issued in 2009, provide spam protection for Nuke's Modules News and Web Links for comments and submit url with captcha code and censor list to associated spam words, Private Message with captcha code, and protects block and the login form by brute-force attack. All modules are protected with up to 3 attempts, After taking no spam attack, the information relating to the spammers and the attached form will be recorded in the file infoattackspam.txt, used as a database, accessible from the admin panel. The form is issued GNU-GPL (freeware), with the limitation to leave unchanged banner, links and credits where present. If the improved module, sent the changes my email (reset74@libero.it) for the release of a new version. DETTAGLI VERSIONE NO SPAM ATTACK 3.1 1) Corretto codice html e php in tutti i moduli (bug ed errori phpnuke 7.63b patched) 2) Corretti bug No Spam Attack 3.0 numero tentativi 3) File Admin - inserita regisrazione automatica info sul modulo attaccato 4) Modulo e Blocco Login - inserito numero massimo tentativi accesso con codice capcha 5) Modulo News - corretto codice ed inserito file censura (censorlist-news-comment.php) per associare parole a spam 6) Modulo Web Link - corretto codice ed inserito file censura (censorlist-weblink.php) per associare parole a spam 7) Messaggi Privati - corretto codice e inserito captcha code indipendente dal Topic Forum DETAILS NO SPAM ATTACK VERSION 3.1 1) Fixed html and php code in all modules (bugs and errors phpnuke 7.63b patched) 2) Fixed bug No Spam Attack 3.0 attempts number 3) File Admin - added info automatically recorded on the module attached 4) Module and block Login - enter the maximum number attempts with captcha code 5) Module News - corrected code and inserted file complaint (censorlist-news-comment.php) to associate words to spam 6) Module Web Links - corrected code and inserted file complaint (censorlist-weblink.php) to associate words to spam 7) Private Messages - corrected code and enter captcha code independent of Topic Forum ADMIN FILE: \stopattackspam.php \infoattackspam.txt (txt Database) \admin\modules\nospamattack.php \admin\links\links.nospamattack.php \admin\case\case.nospamattack.php \images\nospam.swf \images\admin\nospamattack.gif \language\lang-italian.php \language\lang-english.php BLOCK LOGIN: \blocks\block-Login.php YOUR ACCOUNT MODULE: \modules\Your_Account\index.php \modules\Your_Account\images\nospamattack.gif \modules\Your_Account\language\lang-italian.php \modules\Your_Account\language\lang-english.php NEWS MODULE: \modules\News\comments.php \modules\News\censorlist-news-comment.php \modules\News\article.php \modules\News\images\protectednospamattack31.gif \modules\News\language\lang-english.php \modules\News\language\lang-italian.php WEB LINKS MODULE: \modules\Web_Links\index.php \modules\Web_Links\censorlist-weblink.php \modules\Web_Links\images\protectednospamattack31.gif \modules\Web_Links\language\lang-english.php \modules\Web_Links\language\lang-italian.php PRIVATE MESSAGGE MODULE: \modules\Private_Messages\index.php \modules\Private_Messages\copyright.php \modules\Private_Messages\images\protectednospamattack31.gif \modules\Private_Messages\lang-english.php \modules\Private_Messages\lang-italian.php \modules\Forums\templates\subSilver\posting_body2.tpl *** ISTRUZIONI DI INSTALLAZIONE 1) Aprire il file config.php del vostro sitop e settare $gfx_chk a 7 e salvare (cambia da -$gfx_chk = 0;- a -$gfx_chk = 7;-) 2) Aprire i files \modules\News\censorlist-news-comment.php e \modules\Web_Links\censorlist-weblink.php e aggiungere o rimuovere le parole da filtrare come spam 3) Upload dei files sul sito rispettando la struttura* 4) Settare i permessi del file infoattackspam.txt a 664 5) Andare nella pagina http://www.mysite/stopattackspam.php 6) Aprire il pannello di amministrazione di nuke, andare al modulo nospamattack (http://www.mysite/admin.php?op=nospamattack), e controllare che il database funzioni Fatto!!!!!!!!! **Upload solo dei moduli che si vuole proteggere. Caricare almeno un modulo. *** Upload del file posting_body2.tpl nella cartella template del forum installata. Se per esempio il vostro forum ha il tema classic, upload in \modules\Forums\templates\classic INSTALLATION INSTRUCTIONS 1) Open the config.php file of your site and set gfx_chk to $ 7 and save (change from -$gfx_chk = 0;- to -$gfx_chk = 7;-) 2) Open the files \modules\News\censorlist-news-comment.php and \modules\Web_Links\censorlist-weblink.php and add or remove words to be filtered as spam 3) Upload files on the site within the structure* 4) Set the permissions of the file infoattackspam.txt to 664 5) Go to http://www.mysite/stopattackspam.php 6) Open the administration panel of nuke, and go to page nospamattack (http://www.mysite/admin.php?op=nospamattack) and check that the database functions Done !!!!!!!!! ** Upload only the modules you want to protect. At least one load module *** Upload the file posting_body2.tpl into template's folder forum installed. For example if your forum have installed classic's theme, upload in \modules\Forums\templates\classic CREDITS Grazie a aeniGma (http://www.thekey.it) per start patch for security code (gfx_chk) Grazie a Gaylen Fraley (http://ravenphpscripts.com) per parti di codice su database file txt Dio ti benedica! RESET74 @(°_°)@ CREDITS Thanks to aeniGma (http://www.thekey.it) for start patch for security code (gfx_chk) Thanks to Gaylen Fraley (http://ravenphpscripts.com) for parts of code on the database file txt God bless you! RESET74 @(°_°)@