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(tm)
Author Message
Ancient
Client



Joined: Dec 29, 2004
Posts: 22
Location: The Old City

PostPosted: Sat Jan 01, 2005 7:22 pm Reply with quote

Ok, guys, here's the skinny, I got blocked from my site after configuring the sentinel configure pages. Something about an asult to the Author's table. I used myPHPAmdin tool to remove my ip from that nsnst table on the Mysql table thing. At this stage I have not yet got the cgi Auth script going.

Now, on firefox browser I get the following: "Redirection limit for this URL exceeded. Unable to load the requested page. This may be cause by cookies that are blocked." I've deleted the cookies on my browser and that did not help.

On Explorer I get unable to open page or something like that.

Now, I figured that this was on my pc because Sentinel remembered my IP and probably forgot to change some other file. So I went to my office which is not in my home, thus a different IP and I get the same error. This tells me that everyone else is getting the same message thus my site is not available to anyone else. What happened?

Please advice! Thanks in advance,


Fernando

_________________
Only registered users can see links on this board! Get registered or login!
Jazz Radio 24/7 on the Web! 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Jan 01, 2005 7:27 pm Reply with quote

It looks like your site is looping for some reason. Is this v2.1.3? Validate the changes you made to the 3 core files and then ensure that all NukeSentinel files got ftp'd.
 
View user's profile Send private message
Ancient







PostPosted: Sat Jan 01, 2005 7:44 pm Reply with quote

Raven,

No, this is the previous version, I think 2.10. I was under the impression that the 2.1.3 was for the 7.6 nuke. Things were working fine.

Now prior to being banned/blocked, I had done two things. One, I had sent myself an email on the feedback module just to test the email feature of nuke. It was nothing special about the email. all it said was "test". The other thing I did was update the configuration to the DNSstuff.com thing. And That's all. Shortly after I got blocked I got this email:

Date & Time: 2005-01-01 18:02:13
Blocked IP: 68.214.66.61
User ID: Anonymous (1)
Reason: Abuse-Admin
--------------------
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Query String: ancientcityradio.com/index.php?op=ABMain
Forwarded For: none
Client IP: none
Remote Address: 68.214.66.61
Remote Port: 4201
Request Method: GET
--------------------
WHOIS Data

WHOIS results for 68.214.66.61
Generated by www.DNSstuff.com

So I do not know if it was the email that got me banned or the configuration.

Should I be able to update to the new version of Sentinel with my 7.5 nuke?

Also, Raven, I thank you for the support you offer on a night when most folks are not even near their pc.

Regards,

Fernando
 
Raven







PostPosted: Sat Jan 01, 2005 7:45 pm Reply with quote

There are 2 separate d/l for v2.1.3. One for 6.5-7.5 and one for 7.6 Smile
 
Ancient







PostPosted: Sat Jan 01, 2005 8:06 pm Reply with quote

Ok, so if I update to the 2.1.3 version is this going to fix my site from being on a loop? If not what should I do?

Thanks,
 
Raven







PostPosted: Sat Jan 01, 2005 8:16 pm Reply with quote

Can't say. But, you have nothing to lose Wink
 
Ancient







PostPosted: Sat Jan 01, 2005 8:33 pm Reply with quote

OK, I updated but I'm still on the loop. Can't get to the admin.php 'cause it keeps on looping. I stopped it and paste the nsnst.php on the browser but no cigar. Any thoughts?

TIA,

Ancient
 
Raven







PostPosted: Sat Jan 01, 2005 8:36 pm Reply with quote

Comment out the code in mainfile.php to see if that stops the looping.
 
Ancient







PostPosted: Sat Jan 01, 2005 9:23 pm Reply with quote

Well, my server has given me the following. Even after I wait 2.00 seconds.

I commented out the code and did not work. We'll see. I may need to delete the entire program and start from scratch. I'm not a quitter, thought. I will keep on trying to figure this out. Thanks for your support.


Service Temporarily Unavailable
The FutureQuest SRC (Spider Rate Control) module will refuse your requests for the next 2.00 seconds.
You have made too many requests per second.
IP: 68.214.66.61
Timestamp: Sun Jan 2 02:58:11 2005 UTC
 
Raven







PostPosted: Sat Jan 01, 2005 9:27 pm Reply with quote

If you have commented out that code then NukeSentinel should not be a factor. Have you made any other changes?
 
Ancient







PostPosted: Sat Jan 01, 2005 9:34 pm Reply with quote

Do you mean this code? and did I comment it out correctly?. And no, I have not made any other changes than those on the java script fils and header.php

<?php
//if ($forum_admin == 1) {
// include_once("../../../includes/sentinel.php");
// } elseif ($inside_mod == 1) {
include_once("../../includes/sentinel.php");
// } else {
include_once("includes/sentinel.php");
// }
 
Ancient







PostPosted: Sat Jan 01, 2005 9:40 pm Reply with quote

I see where I missed a couple of lines. I commented them out and now I just get a blank page. Hey, looks like we're going somewhere Wink Wink
 
Ancient







PostPosted: Sat Jan 01, 2005 9:43 pm Reply with quote

Raven, I recall somthing about commenting something out of this files. Not sure what it was meant but I wonder if this has anything to do with the problem. If not , how should it look? Aren't you going to be soon? Smile

Ancient


//Union Tap
//Copyright Zhen-Xjell 2004 http://nukecops.com
//Beta 3 Code to prevent UNION SQL Injections
unset($matches);
unset($loc);
if (preg_match("/([OdWo5NIbpuU4V2iJT0n]{5}) /",

rawurldecode($loc=$_SERVER["QUERY_STRING"]), $matches)) {
die();
}
if (stristr($_SERVER["QUERY_STRING"],'%20union%20')) header("Location: index.php");
$phpver = phpversion();
if ($phpver >= '4.0.4pl1' && strstr($HTTP_USER_AGENT,'compatible')) {
if (extension_loaded('zlib')) {
ob_end_clean();
ob_start('ob_gzhandler');
}
} else if ($phpver > '4.0') {
if (strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip')) {
if (extension_loaded('zlib')) {
$do_gzip_compress = TRUE;
ob_start();
ob_implicit_flush(0);
//header('Content-Encoding: gzip');
}
}
}
 
Raven







PostPosted: Sat Jan 01, 2005 9:47 pm Reply with quote

comment out this code
Code:
//Union Tap 

//Copyright Zhen-Xjell 2004 http://nukecops.com
//Beta 3 Code to prevent UNION SQL Injections
unset($matches);
unset($loc);
if (preg_match("/([OdWo5NIbpuU4V2iJT0n]{5}) /",

rawurldecode($loc=$_SERVER["QUERY_STRING"]), $matches)) {
die();
}
if (stristr($_SERVER["QUERY_STRING"],'%20union%20')) header("Location: index.php");

Look in your server error log. Chances are there's an error message there.
 
Ancient







PostPosted: Sat Jan 01, 2005 10:00 pm Reply with quote

Brotherman!

I looked at my error log and sure 'nough, it was on the java script file. I re-pasted the code from your readme file and we're in like flint.

Thanks for helping. We'll deal with the reason why I got blocked tomorrow.

Have a good night sleep. G_d bless.

Fernando
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)

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 ©