[geeklog-cvs] geeklog: Fixed inclusion protection

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Thu Oct 29 11:54:23 EDT 2009


changeset 7397:c27e9026f22a
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/c27e9026f22a
user: Dirk Haun <dirk at haun-online.de>
date: Thu Oct 29 13:00:11 2009 +0100
description:
Fixed inclusion protection

diffstat:

 plugins/spamx/BlackList.Examine.class.php      |  2 +-
 plugins/spamx/DeleteComment.Action.class.php   |  2 +-
 plugins/spamx/EditBlackList.Admin.class.php    |  2 +-
 plugins/spamx/EditHeader.Admin.class.php       |  2 +-
 plugins/spamx/EditIP.Admin.class.php           |  2 +-
 plugins/spamx/EditIPofURL.Admin.class.php      |  2 +-
 plugins/spamx/Header.Examine.class.php         |  2 +-
 plugins/spamx/IP.Examine.class.php             |  2 +-
 plugins/spamx/IPofUrl.Examine.class.php        |  2 +-
 plugins/spamx/Import.Admin.class.php           |  2 +-
 plugins/spamx/LogView.Admin.class.php          |  2 +-
 plugins/spamx/MTBlackList.Examine.class.php    |  2 +-
 plugins/spamx/MailAdmin.Action.class.php       |  2 +-
 plugins/spamx/MassDelTrackback.Admin.class.php |  2 +-
 plugins/spamx/MassDelete.Admin.class.php       |  2 +-
 plugins/spamx/SLV.Examine.class.php            |  2 +-
 plugins/spamx/SLVbase.class.php                |  2 +-
 plugins/spamx/SLVreport.Action.class.php       |  2 +-
 plugins/spamx/SLVwhitelist.Admin.class.php     |  2 +-
 19 files changed, 19 insertions(+), 19 deletions(-)

diffs (228 lines):

diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/BlackList.Examine.class.php
--- a/plugins/spamx/BlackList.Examine.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/BlackList.Examine.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -13,7 +13,7 @@
  * @subpackage Modules
  */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'BlackList.Examine.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'blacklist.examine.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/DeleteComment.Action.class.php
--- a/plugins/spamx/DeleteComment.Action.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/DeleteComment.Action.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -13,7 +13,7 @@
  * @subpackage Modules
  */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'DeleteComment.Action.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'deletecomment.action.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/EditBlackList.Admin.class.php
--- a/plugins/spamx/EditBlackList.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/EditBlackList.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -14,7 +14,7 @@
  * @subpackage Modules
  */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'EditBlackList.Admin.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'editblacklist.admin.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/EditHeader.Admin.class.php
--- a/plugins/spamx/EditHeader.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/EditHeader.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -15,7 +15,7 @@
 * @subpackage Modules
 */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'EditHeader.Admin.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'editheader.admin.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/EditIP.Admin.class.php
--- a/plugins/spamx/EditIP.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/EditIP.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -14,7 +14,7 @@
 * @subpackage Modules
 */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'EditIP.Admin.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'editip.admin.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/EditIPofURL.Admin.class.php
--- a/plugins/spamx/EditIPofURL.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/EditIPofURL.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -14,7 +14,7 @@
 * @subpackage Modules
 */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'EditIPofURL.Admin.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'editipofurl.admin.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/Header.Examine.class.php
--- a/plugins/spamx/Header.Examine.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/Header.Examine.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -15,7 +15,7 @@
 * @subpackage Modules
 */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'Header.Examine.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'header.examine.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/IP.Examine.class.php
--- a/plugins/spamx/IP.Examine.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/IP.Examine.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -13,7 +13,7 @@
 * @subpackage Modules
 */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'IP.Examine.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'ip.examine.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/IPofUrl.Examine.class.php
--- a/plugins/spamx/IPofUrl.Examine.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/IPofUrl.Examine.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -13,7 +13,7 @@
 * @subpackage Modules
 */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'IPofUrl.Examine.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'ipofurl.examine.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/Import.Admin.class.php
--- a/plugins/spamx/Import.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/Import.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -19,7 +19,7 @@
  * @subpackage Modules
  */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'Import.Admin.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'import.admin.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/LogView.Admin.class.php
--- a/plugins/spamx/LogView.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/LogView.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -13,7 +13,7 @@
  * @subpackage Modules
  */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'LogView.Admin.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'logview.admin.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/MTBlackList.Examine.class.php
--- a/plugins/spamx/MTBlackList.Examine.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/MTBlackList.Examine.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -17,7 +17,7 @@
  * @subpackage Modules
  */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'MTBlackList.Examine.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'mtblacklist.examine.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/MailAdmin.Action.class.php
--- a/plugins/spamx/MailAdmin.Action.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/MailAdmin.Action.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -13,7 +13,7 @@
  * @subpackage Modules
  */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'MailAdmin.Action.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'mailadmin.action.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/MassDelTrackback.Admin.class.php
--- a/plugins/spamx/MassDelTrackback.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/MassDelTrackback.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -16,7 +16,7 @@
 * @subpackage Modules
 */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'MassDelTrackback.Admin.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'massdeltrackback.admin.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/MassDelete.Admin.class.php
--- a/plugins/spamx/MassDelete.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/MassDelete.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -14,7 +14,7 @@
 * @subpackage Modules
 */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'MassDelete.Admin.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'massdelete.admin.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/SLV.Examine.class.php
--- a/plugins/spamx/SLV.Examine.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/SLV.Examine.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -13,7 +13,7 @@
 * @subpackage Modules
 */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'SLV.Examine.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'slv.examine.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/SLVbase.class.php
--- a/plugins/spamx/SLVbase.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/SLVbase.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -13,7 +13,7 @@
 * @subpackage Modules
 */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'SLVbase.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'slvbase.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/SLVreport.Action.class.php
--- a/plugins/spamx/SLVreport.Action.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/SLVreport.Action.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -13,7 +13,7 @@
 * @subpackage Modules
 */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'SLVreport.Action.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'slvreport.action.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 
diff -r ec6b034771a6 -r c27e9026f22a plugins/spamx/SLVwhitelist.Admin.class.php
--- a/plugins/spamx/SLVwhitelist.Admin.class.php	Thu Oct 29 12:03:12 2009 +0100
+++ b/plugins/spamx/SLVwhitelist.Admin.class.php	Thu Oct 29 13:00:11 2009 +0100
@@ -14,7 +14,7 @@
 * @subpackage Modules
 */
 
-if (strpos(strtolower($_SERVER['PHP_SELF']), 'SLVwhitelist.Admin.class.php') !== false) {
+if (strpos(strtolower($_SERVER['PHP_SELF']), 'slvwhitelist.admin.class.php') !== false) {
     die('This file can not be used on its own!');
 }
 



More information about the geeklog-cvs mailing list