| Author |
Message |
sixonetonoffun Spouse Contemplates Divorce

Joined: Jan 02, 2003 Posts: 2499
|
Posted:
Wed Jun 02, 2004 5:01 pm |
|
I'm considering development of a plug in that checks the referrer and if the user comes from or 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. |
|
|
|
 |
GanjaUK Life Cycles Becoming CPU Cycles

Joined: Feb 14, 2004 Posts: 633 Location: England
|
Posted:
Wed Jun 02, 2004 5:03 pm |
|
|
|
 |
stephen2417 Worker


Joined: Jan 18, 2004 Posts: 244 Location: Bristolville, OH
|
Posted:
Wed Jun 02, 2004 5:22 pm |
|
SUPPER IDEA!!!!!
I would go for that, how about an auto ban? |
|
|
|
 |
spcdata Regular


Joined: Jan 24, 2004 Posts: 81 Location: Sweden
|
Posted:
Wed Jun 02, 2004 6:50 pm |
|
That would be a very nice thing to do
why don't put in a redirection after about 3 sec, back to where they came from. |
|
|
|
 |
sixonetonoffun Spouse Contemplates Divorce

Joined: Jan 02, 2003 Posts: 2499
|
Posted:
Wed Jun 02, 2004 7:14 pm |
|
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 Regular


Joined: Jan 24, 2004 Posts: 81 Location: Sweden
|
Posted:
Wed Jun 02, 2004 7:24 pm |
|
Yea that works great  |
|
|
|
 |
stephen2417 Worker


Joined: Jan 18, 2004 Posts: 244 Location: Bristolville, OH
|
Posted:
Wed Jun 02, 2004 7:45 pm |
|
How about CCSP too.. And all other Paul assoicated sites. |
|
|
|
 |
sixonetonoffun Spouse Contemplates Divorce

Joined: Jan 02, 2003 Posts: 2499
|
Posted:
Wed Jun 02, 2004 8:40 pm |
|
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 Worker


Joined: Jan 18, 2004 Posts: 244 Location: Bristolville, OH
|
Posted:
Wed Jun 02, 2004 8:43 pm |
|
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


Joined: Aug 23, 2003 Posts: 77
|
Posted:
Wed Jun 02, 2004 8:48 pm |
|
we need a script that grab q= from search engine so we know that they used. |
|
|
|
 |
sixonetonoffun Spouse Contemplates Divorce

Joined: Jan 02, 2003 Posts: 2499
|
Posted:
Wed Jun 02, 2004 9:05 pm |
|
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 Regular


Joined: Aug 23, 2003 Posts: 77
|
Posted:
Wed Jun 02, 2004 9:09 pm |
|
you know i get lots of referrer from whois.sc/domain, why that? |
|
|
|
 |
sixonetonoffun Spouse Contemplates Divorce

Joined: Jan 02, 2003 Posts: 2499
|
Posted:
Wed Jun 02, 2004 9:13 pm |
|
I think thats spammers trying to get phone numbers and addresses as often as not. |
|
|
|
 |
xfsunolesphp Regular


Joined: Aug 23, 2003 Posts: 77
|
Posted:
Wed Jun 02, 2004 9:43 pm |
|
what happen those spammer want to do it in this site? |
|
|
|
 |
stephen2417 Worker


Joined: Jan 18, 2004 Posts: 244 Location: Bristolville, OH
|
Posted:
Sun Jun 06, 2004 3:32 pm |
|
Six i just found another paul related site you may want to modify your code..
and
and
(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


Joined: Mar 11, 2004 Posts: 209
|
Posted:
Sun Jun 06, 2004 5:59 pm |
|
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  |
|
|
|
 |
sixonetonoffun Spouse Contemplates Divorce

Joined: Jan 02, 2003 Posts: 2499
|
Posted:
Sun Jun 06, 2004 8:27 pm |
|
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 Worker


Joined: Mar 11, 2004 Posts: 209
|
Posted:
Sun Jun 06, 2004 9:30 pm |
|
ty six ill try it when have time and will let u know, now i go sleep confortable by Sentinel  |
|
|
|
 |
|
|
|
|