Has anyone posted the Google PageRank checksum script?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jasonir
    Confirmed User
    • Aug 2002
    • 1887

    #1

    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 9 : $c+=($url[$k+8]<<8); 
    /* the first byte of c is reserved for the length */ 
    case 8 : $b+=($url[$k+7]<<24); 
    case 7 : $b+=($url[$k+6]<<16); 
    case 6 : $b+=($url[$k+5]<<8); 
    case 5 : $b+=($url[$k+4]); 
    case 4 : $a+=($url[$k+3]<<24); 
    case 3 : $a+=($url[$k+2]<<16); 
    case 2 : $a+=($url[$k+1]<<8); 
    case 1 : $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.
    ICQ: 61689996
  • pine
    Confirmed User
    • Oct 2002
    • 1373

    #2
    heh.
    unattended error: ID 10 T. Check connection between keyboard and chair.

    Comment

    • Downtime
      Confirmed User
      • May 2004
      • 7320

      #3
      Thanks!
      #27024067

      Comment

      • gornyhuy
        Chafed.
        • May 2002
        • 18041

        #4
        Sweet! Thanks for sharing!

        icq:159548293

        Comment

        • iwantchixx
          Too lazy to set a custom title
          • Oct 2002
          • 12860

          #5
          is there suposed to be haha's in it?

          Comment

          • jasonir
            Confirmed User
            • Aug 2002
            • 1887

            #6
            Aww poop. I will update it in one second.
            ICQ: 61689996

            Comment

            • BradM
              Confirmed User
              • Dec 2003
              • 3397

              #7
              .phps on a server

              Comment

              • jasonir
                Confirmed User
                • Aug 2002
                • 1887

                #8
                Get it here:

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

                Comment

                • jasonir
                  Confirmed User
                  • Aug 2002
                  • 1887

                  #9
                  It seems to be replacing left curly bracket with hahaha123;. So download the text file.
                  ICQ: 61689996

                  Comment

                  • David!
                    By the wrath of Agamemnon
                    • Apr 2004
                    • 6501

                    #10
                    Can you enlighten me as to how this can be used intelligently?
                    .

                    Comment

                    • Odin88
                      Confirmed User
                      • Jul 2003
                      • 3267

                      #11
                      Originally posted by PussyMan
                      Can you enlighten me as to how this can be used intelligently?
                      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.

                      Comment

                      • Tuna
                        Confirmed User
                        • May 2002
                        • 1307

                        #12
                        what does it do?


                        $30 PER SIGNUP PLUS 25% RECURRING
                        FREE HOSTED PIC AND MOVIE GALLERIES

                        Submit Your Free Sites, Pic and Movie Galleries Here
                        ICQ : 20034024

                        Comment

                        • Necrotic
                          Registered User
                          • Jul 2004
                          • 8

                          #13
                          cool
                          www.AdultVideo.biz
                          » No Membership Fees
                          » No Recurring Billing
                          » Streaming Movie Rentals

                          Comment

                          • Linguist
                            Confirmed User
                            • Apr 2004
                            • 1706

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

                            Comment

                            • budz
                              Disruptive Innovator
                              • Sep 2003
                              • 4230

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


                              C:\Code\
                              C:\Code\Run\

                              Comment

                              • bawdy
                                Confirmed User
                                • Feb 2002
                                • 1424

                                #16
                                somebody wake up WiredGuy he's gonna love this

                                Comment

                                • {fusion}
                                  Confirmed User
                                  • Sep 2003
                                  • 1650

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

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

                                  Comment

                                  • jasonir
                                    Confirmed User
                                    • Aug 2002
                                    • 1887

                                    #18
                                    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
                                    ICQ: 61689996

                                    Comment

                                    • budz
                                      Disruptive Innovator
                                      • Sep 2003
                                      • 4230

                                      #19
                                      http://www.geocities.com/google_checksum/checksum.txt
                                      C:\Code\
                                      C:\Code\Run\

                                      Comment

                                      • jasonir
                                        Confirmed User
                                        • Aug 2002
                                        • 1887

                                        #20


                                        Thanks for the mirror.
                                        ICQ: 61689996

                                        Comment

                                        • WicKed NinJas
                                          Confirmed User
                                          • Jun 2003
                                          • 965

                                          #21
                                          could someone explain what this script does?
                                          CLICK HERE FOR SOME EXTREME PAYCHECKS 178.247.277

                                          Comment

                                          • Strife
                                            Confirmed User
                                            • Aug 2001
                                            • 4534

                                            #22
                                            Originally posted by WicKed NinJas
                                            could someone explain what this script does?
                                            Buy & Sell Ads on The Most Sexy Advertising Network on the Planet

                                            Comment

                                            • icu33774
                                              Confirmed User
                                              • Jul 2003
                                              • 1573

                                              #23
                                              Originally posted by Strife
                                              Nvgcash.com Affiliate Program
                                              Icq 663072747

                                              Comment

                                              • jasonir
                                                Confirmed User
                                                • Aug 2002
                                                • 1887

                                                #24
                                                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.
                                                ICQ: 61689996

                                                Comment

                                                • Manowar
                                                  jellyfish  
                                                  • Dec 2003
                                                  • 71528

                                                  #25
                                                  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

                                                  Comment

                                                  • Babaganoosh
                                                    ♥♥♥ Likes Hugs ♥♥♥
                                                    • Nov 2001
                                                    • 15841

                                                    #26
                                                    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.
                                                    I like pie.

                                                    Comment

                                                    • Frank The Tank
                                                      Confirmed User
                                                      • Dec 2003
                                                      • 3225

                                                      #27
                                                      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
                                                      aim : titanceltic icq : 307499327 Frank[@]babesandstuff.com

                                                      Comment

                                                      • woj
                                                        <&(©¿©)&>
                                                        • Jul 2002
                                                        • 47880

                                                        #28
                                                        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"
                                                        Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
                                                        Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
                                                        Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager

                                                        Comment

                                                        • nastyking
                                                          • Nov 2002
                                                          • 2174

                                                          #29
                                                          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.

                                                          Comment

                                                          • nastyking
                                                            • Nov 2002
                                                            • 2174

                                                            #30
                                                            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.

                                                            Comment

                                                            Working...