GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Has anyone posted the Google PageRank checksum script? (https://gfy.com/showthread.php?t=321669)

jasonir 07-03-2004 09:33 PM

Has anyone posted the Google PageRank checksum script?
 
PHP Code:

<?php 
/* 
This code is released unto the public domain 
*/ 
header("Content-Type: text/plain; charset=utf-8"); 
define('GOOGLE_MAGIC'0xE6359A60); 

//unsigned shift right 
function zeroFill($a$b

$z hexdec(80000000); 
if (
$z $a

$a = ($a>>1); 
$a &= (~$z); 
$a ¦0x40000000
$a = ($a>>($b-1)); 

else 

$a = ($a>>$b); 

return 
$a



function 
mix($a,$b,$c) { 
$a -= $b$a -= $c$a ^= (zeroFill($c,13)); 
$b -= $c$b -= $a$b ^= ($a<<8); 
$c -= $a$c -= $b$c ^= (zeroFill($b,13)); 
$a -= $b$a -= $c$a ^= (zeroFill($c,12)); 
$b -= $c$b -= $a$b ^= ($a<<16); 
$c -= $a$c -= $b$c ^= (zeroFill($b,5)); 
$a -= $b$a -= $c$a ^= (zeroFill($c,3)); 
$b -= $c$b -= $a$b ^= ($a<<10); 
$c -= $a$c -= $b$c ^= (zeroFill($b,15)); 

return array(
$a,$b,$c); 


function 
GoogleCH($url$length=null$init=GOOGLE_MAGIC) { 
if(
is_null($length)) { 
$length sizeof($url); 

$a $b 0x9E3779B9
$c $init
$k 0
$len $length
while(
$len >= 12) { 
$a += ($url[$k+0] +($url[$k+1]<<8) +($url[$k+2]<<16) +($url[$k+3]<<24)); 
$b += ($url[$k+4] +($url[$k+5]<<8) +($url[$k+6]<<16) +($url[$k+7]<<24)); 
$c += ($url[$k+8] +($url[$k+9]<<8) +($url[$k+10]<<16)+($url[$k+11]<<24)); 
$mix mix($a,$b,$c); 
$a $mix[0]; $b $mix[1]; $c $mix[2]; 
$k += 12
$len -= 12


$c += $length
switch(
$len/* all the case statements fall through */ 

case 
11$c+=($url[$k+10]<<24); 
case 
10$c+=($url[$k+9]<<16); 
case 
$c+=($url[$k+8]<<8); 
/* the first byte of c is reserved for the length */ 
case $b+=($url[$k+7]<<24); 
case 
$b+=($url[$k+6]<<16); 
case 
$b+=($url[$k+5]<<8); 
case 
$b+=($url[$k+4]); 
case 
$a+=($url[$k+3]<<24); 
case 
$a+=($url[$k+2]<<16); 
case 
$a+=($url[$k+1]<<8); 
case 
$a+=($url[$k+0]); 
/* case 0: nothing left to add */ 

$mix mix($a,$b,$c); 
/*-------------------------------------------- report the result */ 
return $mix[2]; 


//converts a string into an array of integers containing the numeric value of the char 
function strord($string) { 
for(
$i=0;$i<strlen($string);$i++) { 
$result[$i] = ord($string{$i}); 

return 
$result

// [url]http://www.example.com/[/url] - Checksum: 6540747202 
$url 'info:'.$_GET['url']; 
print(
"url:\t{$_GET['url']}\n"); 
$ch GoogleCH(strord($url)); 
printf("ch:\t6%u\n",$ch); 
?>

It's so nice to share with others.

pine 07-03-2004 09:34 PM

heh. :censored

Downtime 07-03-2004 09:34 PM

Thanks!

gornyhuy 07-03-2004 09:38 PM

Sweet! Thanks for sharing!

iwantchixx 07-03-2004 09:39 PM

is there suposed to be haha's in it?

jasonir 07-03-2004 09:40 PM

Aww poop. I will update it in one second.

BradM 07-03-2004 09:40 PM

.phps on a server :)

jasonir 07-03-2004 09:42 PM

Get it here:

http://www.filenote.com/users/uploads/checksum.txt

jasonir 07-03-2004 09:44 PM

It seems to be replacing left curly bracket with hahaha123;. So download the text file.

David! 07-03-2004 09:45 PM

Can you enlighten me as to how this can be used intelligently? :Graucho

Odin88 07-03-2004 09:46 PM

Quote:

Originally posted by PussyMan
Can you enlighten me as to how this can be used intelligently? :Graucho
Now that everyone has it won't be worth that much. Once enough people have it Google will change the algo. Thanks for the sript though.

Tuna 07-03-2004 09:48 PM

what does it do?

Necrotic 07-03-2004 09:52 PM

cool :thumbsup

Linguist 07-03-2004 09:57 PM

It's been on the net for a few days now... so expect it to be changes very soon

budz 07-03-2004 10:01 PM

http://cgi.ebay.com/ws/eBayISAPI.dll...sPageName=WDVW


:1orglaugh

bawdy 07-03-2004 10:03 PM

somebody wake up WiredGuy he's gonna love this

{fusion} 07-03-2004 10:03 PM

http://blog.outer-court.com/archive/..._27_index.html

also here if required, it seems to work ok, thanks jason

jasonir 07-03-2004 10:10 PM

Haha, they sure deleted it quick. I have no intention of hosting it on one of my servers.

Here are a bunch of links:

http://www.google.com/search?hl=en&l...27&btnG=Search

budz 07-03-2004 11:07 PM

http://www.geocities.com/google_checksum/checksum.txt

jasonir 07-04-2004 01:38 AM

:thumbsup

Thanks for the mirror.

WicKed NinJas 07-04-2004 02:06 AM

could someone explain what this script does?

Strife 07-04-2004 02:09 AM

Quote:

Originally posted by WicKed NinJas
could someone explain what this script does?

icu33774 07-04-2004 02:17 AM

Quote:

Originally posted by Strife

jasonir 07-04-2004 01:56 PM

It can be used to automatically fetch the PageRank of a given page from Google. In order to get the PageRank of any site you need to send Google the checksum value which is normally calculated in the innards of the Google toolbar.

Someone decompiled the toolbar DLL and turned the algorithm that calculates the checksum into a PHP script.

Manowar 07-04-2004 02:03 PM

Quote:

Originally posted by jasonir
It can be used to automatically fetch the PageRank of a given page from Google. In order to get the PageRank of any site you need to send Google the checksum value which is normally calculated in the innards of the Google toolbar.

Someone decompiled the toolbar DLL and turned the algorithm that calculates the checksum into a PHP script.

Sweet :glugglug

Babaganoosh 07-04-2004 02:05 PM

Quote:

Originally posted by WicKed NinJas
could someone explain what this script does?
It tells you the google pagerank for any page you'd like. Only those who don't really understand pagerank will find it useful.

Frank The Tank 07-04-2004 02:09 PM

Quote:

Originally posted by jasonir
It can be used to automatically fetch the PageRank of a given page from Google. In order to get the PageRank of any site you need to send Google the checksum value which is normally calculated in the innards of the Google toolbar.

Someone decompiled the toolbar DLL and turned the algorithm that calculates the checksum into a PHP script.


so does mean u can change the checksum on one of your pages to get higher ranked in the search engine

woj 07-04-2004 02:14 PM

Quote:

Originally posted by basadmin
so does mean u can change the checksum on one of your pages to get higher ranked in the search engine
hint: "google priority id"

nastyking 07-04-2004 02:26 PM

Quote:

Originally posted by WicKed NinJas
could someone explain what this script does?
it guarantees you #1 position for every keyword you want.

the webmaster who runs it the most gets the highest ranking.

nastyking 07-04-2004 02:28 PM

Quote:

Originally posted by basadmin
so does mean u can change the checksum on one of your pages to get higher ranked in the search engine
yes, exactly. once run your site will rank in the SERPs as soon as google updates them (usually under 30 minutes).

Please don't abuse it.


All times are GMT -7. The time now is 10:28 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123