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) Enhancement Requests
Author Message
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Wed Jun 02, 2004 5:01 pm Reply with quote

I'm considering development of a plug in that checks the referrer and if the user comes from [ Only registered users can see links on this board! Get registered or login! ] or [ Only registered users can see links on this board! Get registered or login! ] a popup is generated saying something like:
We’re sorry but there is little we do to remove the propaganda you have been subjected to.

Comments or feedback requested.
 
View user's profile Send private message
GanjaUK
Life Cycles Becoming CPU Cycles



Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Wed Jun 02, 2004 5:03 pm Reply with quote

What a superb idea!

_________________
Image
Need a quality custom theme designed? PM me!
 
View user's profile Send private message Visit poster's website
stephen2417
Worker
Worker



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

PostPosted: Wed Jun 02, 2004 5:22 pm Reply with quote

SUPPER IDEA!!!!!

I would go for that, how about an auto ban?
 
View user's profile Send private message Visit poster's website
spcdata
Regular
Regular



Joined: Jan 24, 2004
Posts: 81
Location: Sweden

PostPosted: Wed Jun 02, 2004 6:50 pm Reply with quote

That would be a very nice thing to do Razz

Idea why don't put in a redirection after about 3 sec, back to where they came from.

_________________
/spcdata 
View user's profile Send private message Send e-mail Visit poster's website
sixonetonoffun







PostPosted: Wed Jun 02, 2004 7:14 pm Reply with quote

Ok here is a rough version.
We can add this to mainfile.php or anywhere and call it like this:
check_is_brainwashed();

Code:


function check_is_brainwashed() {
  if (isset($_SERVER["HTTP_REFERER"])) {
    $brainwashed = $_SERVER["HTTP_REFERER"];
  } elseif (isset($HTTP_SERVER_VARS["HTTP_REFERER"])) {
    $brainwashed = $HTTP_SERVER_VARS["HTTP_REFERER"];
  } else{
     $brainwashed ="";
  }if($brainwashed != "") {
  if (stristr($brainwashed,'nukecops')) {
  echo "<H1>We’re sorry but there is little we do to remove the propaganda you have been subjected to by $brainwashed .</h1>";
   }
  }else{
  }
}
 
spcdata







PostPosted: Wed Jun 02, 2004 7:24 pm Reply with quote

Yea that works great Very Happy
 
stephen2417







PostPosted: Wed Jun 02, 2004 7:45 pm Reply with quote

How about CCSP too.. And all other Paul assoicated sites.
 
sixonetonoffun







PostPosted: Wed Jun 02, 2004 8:40 pm Reply with quote

LMAO ok well I've far from the complete and unabridged list of Pauls sites but here is a short list of ones I am familar with.
Code:


function check_is_brainwashed() {
  if (isset($_SERVER["HTTP_REFERER"])) {
    $brainwashed = $_SERVER["HTTP_REFERER"];
  } elseif (isset($HTTP_SERVER_VARS["HTTP_REFERER"])) {
    $brainwashed = $HTTP_SERVER_VARS["HTTP_REFERER"];
  } else{
     $brainwashed ="";
  }if($brainwashed != "") {
  if (stristr($brainwashed, 'computercops') ||
      stristr($brainwashed, 'nukecops') ||
      stristr($brainwashed, 'fortress') ||
      stristr($brainwashed, 'googletap')) {
  echo "<H1>We’re sorry but there is little we do to remove the propaganda you have been subjected to by $brainwashed .</h1>";
   }
  }else{
  }
}
 
stephen2417







PostPosted: Wed Jun 02, 2004 8:43 pm Reply with quote

You know what youve got a good point here.. can you block search terms from google using the same concept?
If so ide like to block nuke and cpg and coppermine and powered by.

Thats how all the hacking startes. Ill let you know some more keywords, all i have to do is look at my stats lol.
 
xfsunolesphp
Regular
Regular



Joined: Aug 23, 2003
Posts: 77

PostPosted: Wed Jun 02, 2004 8:48 pm Reply with quote

we need a script that grab q= from search engine so we know that they used.
 
View user's profile Send private message
sixonetonoffun







PostPosted: Wed Jun 02, 2004 9:05 pm Reply with quote

I honestly believe at some point a short while ago they were running off the nukecops memberlist.

I guess if we checked the referer against a list it could be done. I know I get a lot of q=phpnuke+hack referrers because I've posted things as phpnuke hacks. So I don't think I'd personally want to run that but... Might get one of the bossmans to chime in on that one.

I do think logging the referrer might be worthwhile have to see what everyone else thinks about it.
 
xfsunolesphp







PostPosted: Wed Jun 02, 2004 9:09 pm Reply with quote

you know i get lots of referrer from whois.sc/domain, why that?
 
sixonetonoffun







PostPosted: Wed Jun 02, 2004 9:13 pm Reply with quote

I think thats spammers trying to get phone numbers and addresses as often as not.
 
xfsunolesphp







PostPosted: Wed Jun 02, 2004 9:43 pm Reply with quote

what happen those spammer want to do it in this site?
 
stephen2417







PostPosted: Sun Jun 06, 2004 3:32 pm Reply with quote

Six i just found another paul related site you may want to modify your code.. [ Only registered users can see links on this board! Get registered or login! ]
and [ Only registered users can see links on this board! Get registered or login! ]
and [ Only registered users can see links on this board! Get registered or login! ] (dont know what he did to that site, but if the domain goes out i might buy it LOL, just to make him mad of corse. Then aim it at my site, muuhhaaaaa)
 
peace
Worker
Worker



Joined: Mar 11, 2004
Posts: 209

PostPosted: Sun Jun 06, 2004 5:59 pm Reply with quote

yeah six plz can you give us a bunch of code for ;
if pplz comes my site with some keywords i want them meet a nice banned page which i designed and then forwarded them which site i want Rolling Eyes
 
View user's profile Send private message
sixonetonoffun







PostPosted: Sun Jun 06, 2004 8:27 pm Reply with quote

peace you can try this give us a report on the mileage. Replace all 12 keywords with the ones you want to use. I wouldn't go with many more then that or it will slow things up considerably. Also I didn't test it at all so your results may not be as expected. You'll have to work out the redirects to your own liking.
Code:


function check_evilkey() {
        if (isset($_SERVER["HTTP_REFERER"])) {
            $evilkey = $_SERVER["HTTP_REFERER"];
        } elseif (isset($HTTP_SERVER_VARS["HTTP_REFERER"])) {
            $evilkey = $HTTP_SERVER_VARS["HTTP_REFERER"];
        } else {
            $evilkey = "";
        }
        if ($evilkey != "") {
            $evilkey = strtolower($evilkey);
            if (strpos($evilkey, "keyword1") || strpos($evilkey, "keyword2") || strpos($evilkey, "keyword3") || strpos($evilkey, "keyword4") || strpos($evilkey, "keyword5") || strpos($evilkey, "keyword6") || strpos($evilkey, "keyword7") || strpos($evilkey, "keyword8") || strpos($evilkey, "keyword9") || strpos($evilkey, "keyword10") || strpos($evilkey, "keyword11") || strpos($evilkey, "keyword12"));
            {
                Header("Location: custom_message.htm");
            }
        } else {
        }
    }



So there you go a "bunch of code".

Edited: first one bugged out on me when I tried in a real browser.
 
peace







PostPosted: Sun Jun 06, 2004 9:30 pm Reply with quote

ty six ill try it when have time Mr. Green and will let u know, now i go sleep confortable by Sentinel Cool
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm) Enhancement Requests

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 ©