Author |
Message |
sgtbookie
Hangin' Around

Joined: May 08, 2004
Posts: 29
Location: Atlanta, GA
|
Posted:
Thu Jun 03, 2004 7:29 pm |
|
Do I have to setup a certain option to have it do one over another? |
_________________ Sgt.Bookie
TwelvevoltmanDOTcom |
|
|
 |
sixonetonoffun
Spouse Contemplates Divorce

Joined: Jan 02, 2003
Posts: 2496
|
Posted:
Thu Jun 03, 2004 7:38 pm |
|
IIS won't use the htaccess file only the database. So leave the path to htaccess blank. |
|
|
|
 |
sgtbookie

|
Posted:
Thu Jun 03, 2004 7:51 pm |
|
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

|
Posted:
Thu Jun 03, 2004 7:54 pm |
|
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

|
Posted:
Thu Jun 03, 2004 8:06 pm |
|
// 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

|
Posted:
Thu Jun 03, 2004 8:15 pm |
|
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

|
Posted:
Thu Jun 03, 2004 8:23 pm |
|
It does work if I place it all the way at the bottom of the mainfile.php:
include("includes/sentinel.php");
?> |
|
|
|
 |
sgtbookie

|
Posted:
Wed Jun 16, 2004 8:33 am |
|
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


Joined: Jan 18, 2004
Posts: 244
Location: Bristolville, OH
|
Posted:
Wed Jun 16, 2004 3:03 pm |
|
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..
Thats all i can say  |
|
|
|
 |
sgtbookie

|
Posted:
Wed Jun 16, 2004 4:10 pm |
|
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


Joined: Jan 16, 2005
Posts: 17
|
Posted:
Sun Jan 16, 2005 12:37 pm |
|
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  |
|
|
|
 |
xfsunolesphp
Regular


Joined: Aug 23, 2003
Posts: 77
|
Posted:
Mon Jan 17, 2005 9:26 pm |
|
turn on error reporting, which version you in? |
|
|
|
 |
Shenphen

|
Posted:
Tue Jan 18, 2005 4:00 am |
|
|
|
 |
|