Allyesno Note: self-test without verification
Http://blog.csdn.net/btbtd/
Google PR Spoofing
Add the following PHP code to any page:
<? PHP
If (strstr ($ _ server ['HTTP _ user_agent '], "googlebot "))
{
Header ("HTTP/1.1 301 ");
Header ("Location: http://www.google.com ");
}
?>
If Google bot accesses this page,
The code will be automatically redirected to www.google.com using HTTP 301 or http302.
Google Bot may think that the PR of this page is an image of Google.com.
So the PR value is also of Google.com,
However, in this case, googlebot cannot collect site information. If it is placed in the footer,
This will make the entire site unable to update Google. However, technically, you can stop using this script after the PR scam.
PS: the highest PR value is 10, and the PR value of Google.com is 10. Therefore, this page is also 10 when Google.com is updated.
/*************************************** *************************/
*
* Author: emerald <btbtd@yahoo.com.cn>
*
* Homepage: http://gi.2288.org: 88/
*
* Seo-gi: http://seo.2288.org: 99
*
* Sitename: Green School-green Institute
*
* Date: 2005-01-24
*
/*************************************** *************************/
<? PHP
// Google PageRank cheat
If (strstr ($ _ server ['HTTP _ user_agent '], "googlebot "))
{
Header ("HTTP/1.1 301 ");
Header ("Location: http://www.google.com ");
}
// Emerald URL: http://gi.2288.org: 88
Echo '<Div id = "H-F-C-B"> '. date ('Y-m-d h: I '). 'crawler '. $ _ server ["http_user_agent"]. '@'. $ _ server ["remote_addr"];
?>
<? PHP
// Dark Seo team powered cloakin 'stuff //-> makeyouworkalittle (-;
If (googlebotstealmypage & content)
{
// Code only for Google
Header ("status: 301 moved permanently ");
Header ("Location: http://www.google.com ");
Exit ();
}
Else {
Echo "I steal his PR" "; // visual page for all
// Copy here all cool stuff u want
}
?>