|
From: Jon O. <jon...@us...> - 2006-06-17 20:49:28
|
Update of /cvsroot/mxbb/mx_pafiledb In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv6231/modules/mx_pafiledb Modified Files: dload.php dload_lists.php dload_quickdl.php Log Message: security Index: dload_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_lists.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** dload_lists.php 17 Jun 2006 20:13:22 -0000 1.18 --- dload_lists.php 17 Jun 2006 20:49:26 -0000 1.19 *************** *** 39,42 **** --- 39,46 ---- else { + if( !defined('IN_PORTAL') || !is_object($mx_block)) + { + die("Hacking attempt"); + } // // Read Block Settings Index: dload.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** dload.php 17 Jun 2006 20:13:22 -0000 1.20 --- dload.php 17 Jun 2006 20:49:26 -0000 1.21 *************** *** 67,70 **** --- 67,74 ---- else { + if( !defined('IN_PORTAL') || !is_object($mx_block)) + { + die("Hacking attempt"); + } // // Read Block Settings (default mode) Index: dload_quickdl.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_quickdl.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** dload_quickdl.php 17 Jun 2006 20:13:22 -0000 1.10 --- dload_quickdl.php 17 Jun 2006 20:49:26 -0000 1.11 *************** *** 39,42 **** --- 39,46 ---- else { + if( !defined('IN_PORTAL') || !is_object($mx_block)) + { + die("Hacking attempt"); + } // // Read Block Settings |