Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm) v2.4.x
Author Message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Nov 08, 2005 6:24 pm Reply with quote

This is just a simple hack to NukeSentinel(tm) to stop tracking users who you don't need to track, like yourself, for instance Wink. Since I, as owner/admin am on all the time, I want to stop the tracking and adding to the hit counter, regardless of what machine and/or IP I am logging in from. Yes, you can do this through the IP but if your IP changes frequently, as most do, then you have a small, yet still inconvenient, maintenance. And, you don't always know when your IP has been refreshed, so you have the added attraction of having to check that! So, here is but one way to accomplish that. I have chosen to only circumvent the IP tracking and nothing else, so be aware that this is not stopping NukeSentinel in any other way.

Is this a security risk? No. But, if a visitor was able to guess your password, and your authid name/password (of course you are using that Smile ) then you would not have his IP that he used. You would still have your server logs Wink, so use at your own risk.

Edit includes/nukesentinel.php

FIND
Code:
// IP Tracking

// CAUTION: This function can slow your sites load time
if($ab_config['track_active'] == 1 AND !is_excluded($nsnst_const['remote_ip'])) {


CHANGE TO
Code:
// IP Tracking

// CAUTION: This function can slow your sites load time
$bypassTrackingList = array('user1');  // Raven 11/8/2005
$bypassTracking     = FALSE;  // Raven 11/8/2005
if (in_array(addslashes(strtolower($uinfo['username'])),$bypassTrackingList, TRUE)) $bypassTracking = TRUE;  // Raven 11/8/2005
if($ab_config['track_active'] == 1 AND !is_excluded($nsnst_const['remote_ip']) AND !$bypassTracking) {  // Raven 11/8/2005


Of course, in this line $bypassTrackingList = array('user1');, you would add the real username(s), separated by a comma and enclosed in tick marks, like $bypassTrackingList = array('user1','user2','user3');
 
View user's profile Send private message
aces
New Member
New Member



Joined: Aug 24, 2006
Posts: 1

PostPosted: Wed Aug 23, 2006 11:08 pm Reply with quote

Hi Im using the latest ravenuke 2.02.02 and sentinel 2.5.02 and the above isnt working for me, not sure what im doing wrong or if this just no longer works. please advise, thanks.
 
View user's profile Send private message
Raven







PostPosted: Thu Aug 24, 2006 9:24 am Reply with quote

I will look into it. Thanks!
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm) v2.4.x

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 ©