Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™
Author Message
qlueless
New Member
New Member


Joined: Aug 20, 2005
Posts: 9

PostPosted: Sun Aug 21, 2005 1:24 am Reply with quote

I was just wondering why you don't just sreate a complete package that already has php-nuke7.6 patched 3.1 with NukeSentinel 2.4 installed?

I am working on installing 2.4 right now on php-nuke7.6 patched 3.1, I downloaded BOTH files from you site but the install guides are off on what to change in the core files.

Code:
# 

#-----[ OPEN ]------------------------------------------
#
admin.php

#
#-----[ FIND ]------------------------------------------
#
$checkurl = $_SERVER['REQUEST_URI'];
if((stripos_clone($_SERVER["QUERY_STRING"],'AddAuthor')) || (stripos_clone($_SERVER["QUERY_STRING"],'VXBkYXRlQXV0aG9y')) || (stripos_clone($_SERVER["QUERY_STRING"],'QWRkQXV0aG9y')) || (stripos_clone($_SERVER["QUERY_STRING"],'UpdateAuthor')) || (preg_match("/\?admin/", "$checkurl")) || (preg_match("/\&admin/", "$checkurl"))) {
die("Illegal Operation");
}

#
#-----[ COMMENT OUT ]------------------------------------------
#
//$checkurl = $_SERVER['REQUEST_URI'];
//if((stripos_clone($_SERVER["QUERY_STRING"],'AddAuthor')) || (stripos_clone($_SERVER["QUERY_STRING"],'VXBkYXRlQXV0aG9y')) || (stripos_clone($_SERVER["QUERY_STRING"],'QWRkQXV0aG9y')) || (stripos_clone($_SERVER["QUERY_STRING"],'UpdateAuthor')) || (preg_match("/\?admin/", "$checkurl")) || (preg_match("/\&admin/", "$checkurl"))) {
//die("Illegal Operation");
//}


My file is this the area that I should change?
Code:
$checkurl = $_SERVER['REQUEST_URI'];

if((stripos_clone($checkurl,'AddAuthor')) OR (stripos_clone($checkurl,'VXBkYXRlQXV0aG9y')) OR (stripos_clone($checkurl,'QWRkQXV0aG9y')) OR (stripos_clone($checkurl,'UpdateAuthor')) OR (stripos_clone($checkurl, "?admin")) OR (stripos_clone($checkurl, "&admin"))) {
  die("Illegal Operation");
}

get_lang("admin");
 
View user's profile Send private message
qlueless
PostPosted: Sun Aug 21, 2005 1:25 am Reply with quote

I changed it to:
Code:


//$checkurl = $_SERVER['REQUEST_URI'];
//if((stripos_clone($checkurl,'AddAuthor')) OR (stripos_clone($checkurl,'VXBkYXRlQXV0aG9y')) OR (stripos_clone($checkurl,'QWRkQXV0aG9y')) OR (stripos_clone($checkurl,'UpdateAuthor')) OR (stripos_clone($checkurl, "?admin")) OR (stripos_clone($checkurl, "&admin"))) {
//  die("Illegal Operation");
//}

get_lang("admin");


Is that right?
 
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Sun Aug 21, 2005 6:59 am Reply with quote

Yes.
 
View user's profile Send private message
qlueless
PostPosted: Sun Aug 21, 2005 11:10 am Reply with quote

cool thanks, now if I can just get some questions awsered on NSN Banners I will be good to go..
 
Raven
PostPosted: Sun Aug 21, 2005 11:56 am Reply with quote

Bob will be on later, but for NSN scripts you should post over on his site.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©