[geeklog-hg] geeklog: Added security check for command and control

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Wed Jul 3 11:16:35 EDT 2013


changeset 9160:4ef3094124a4
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/4ef3094124a4
user: Tom <websitemaster at cogeco.net>
date: Wed Jul 03 10:51:21 2013 -0400
description:
Added security check for command and control

diffstat:

 public_html/admin/index.php |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 0b6b9cf0ecdc -r 4ef3094124a4 public_html/admin/index.php
--- a/public_html/admin/index.php	Wed Jul 03 10:16:45 2013 -0400
+++ b/public_html/admin/index.php	Wed Jul 03 10:51:21 2013 -0400
@@ -24,8 +24,15 @@
 //
 // $Id: index.php,v 1.9 2006/10/01 19:13:37 dhaun Exp $
 
-require_once('../lib-common.php');
+/**
+* Geeklog common function library
+*/
+require_once '../lib-common.php';
 
+/**
+* Security check to ensure user even belongs on this page
+*/
+require_once 'auth.inc.php';
 
 // MAIN
 if (isset ($_GET['mode']) && ($_GET['mode'] == 'logout')) {



More information about the geeklog-cvs mailing list