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
sgtbookie
Hangin' Around


Joined: May 08, 2004
Posts: 29
Location: Atlanta, GA

PostPosted: Thu Jun 03, 2004 7:29 pm Reply with quote

Do I have to setup a certain option to have it do one over another?

_________________
Sgt.Bookie
TwelvevoltmanDOTcom 
View user's profile Send private message Visit poster's website
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2496

PostPosted: Thu Jun 03, 2004 7:38 pm Reply with quote

IIS won't use the htaccess file only the database. So leave the path to htaccess blank.
 
View user's profile Send private message
sgtbookie
PostPosted: Thu Jun 03, 2004 7:51 pm Reply with quote

Steve2417,
Still having a problem with the include statement. If I add:
include("includes/sentinel.php");
right after <?php i get just a blank screen and the site wont load. If I add it to any of the functions within the mainfile.php, like:

// Disable DOS Attacks
if (($_SERVER['HTTP_USER_AGENT'] == "" || $_SERVER['HTTP_USER_AGENT'] == "-") && !defined('XMLFEED')) {
die();
include("includes/sentinel.php");
}

Then it works fine. Just want to make sure I have protection set up properly.
 
sgtbookie
PostPosted: Thu Jun 03, 2004 7:54 pm Reply with quote

Thanks sixonetonoffun! I started playing around more with Micro$ofts new URLSCAN2.5 to see if there is a way I can write blocks into it for the IIS users.
 
sixonetonoffun
PostPosted: Thu Jun 03, 2004 8:06 pm Reply with quote

// Disable DOS Attacks
if (($_SERVER['HTTP_USER_AGENT'] == "" || $_SERVER['HTTP_USER_AGENT'] == "-") && !defined('XMLFEED')) {
die();
include("includes/sentinel.php");
}

Then it works fine. Just want to make sure I have protection set up properly.


In the above function the sentinel won't be active at all. Try moving it out of that function. Then start the debugging process again.

I haven't used IIS for quite a while so I won't be much help with that one.
 
sgtbookie
PostPosted: Thu Jun 03, 2004 8:15 pm Reply with quote

Thats what I was worried about.

It seems if I move it anywhere outside of one of the defined functions it fails.

Any other way within PHP to call the include file?
 
sgtbookie
PostPosted: Thu Jun 03, 2004 8:23 pm Reply with quote

It does work if I place it all the way at the bottom of the mainfile.php:

include("includes/sentinel.php");
?>
 
sgtbookie
PostPosted: Wed Jun 16, 2004 8:33 am Reply with quote

Thanks! I just had my first Sentinel block over the weekend. Feel much better now that I know its out there protecting me!
 
stephen2417
Worker
Worker


Joined: Jan 18, 2004
Posts: 244
Location: Bristolville, OH

PostPosted: Wed Jun 16, 2004 3:03 pm Reply with quote

sgtbookie wrote:
Thanks! I just had my first Sentinel block over the weekend. Feel much better now that I know its out there protecting me!


Are you tryin to tell me then idiots tried to exploit cpgnuke..
Bang Head Bang Head Bang Head Bang Head Bang Head Bang Head Bang Head Bang Head Bang Head Bang Head

Thats all i can say Laughing
 
View user's profile Send private message Visit poster's website
sgtbookie
PostPosted: Wed Jun 16, 2004 4:10 pm Reply with quote

Yea, pretty much. It was only an unauthorized view, so it wasnt much of an attack, but feel better non the less. After loosing my old PHPnuke site to hackers, I figured better safe than sorry. Besides, what good is a Nuke site if you can't plug abunch of stuff into it...
 
Shenphen
New Member
New Member


Joined: Jan 16, 2005
Posts: 17

PostPosted: Sun Jan 16, 2005 12:37 pm Reply with quote

stephen2417 wrote:
Complete instructions to convert Sentinel(tm) to CPG-Nuke...

I've done all this modifications, but when I go to the administration panel, and click on the button "nuke_sentinel", it bring me a blank page!?

Any idea why?

Thank you Smile
 
View user's profile Send private message
xfsunolesphp
Regular
Regular


Joined: Aug 23, 2003
Posts: 77

PostPosted: Mon Jan 17, 2005 9:26 pm Reply with quote

turn on error reporting, which version you in?
 
View user's profile Send private message
Shenphen
PostPosted: Tue Jan 18, 2005 4:00 am Reply with quote

I've done it: Only registered users can see links on this board! Get registered or login!
 
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 ©