06-30-2004, 06:25 AM | #121 |
Nameless Being
|
Yep! I'm porting this code to Pascal.
My mistake was in incorrect understanding how switch statement without breaks works. So, after code purifying Your desire may shall come |
06-30-2004, 06:46 AM | #122 |
Nameless Being
|
Pascal code here :
http://www.my-eldorado.net/Google-Ch...ery-Source.php |
Advert | |
|
06-30-2004, 07:13 AM | #123 |
Nameless Being
|
Both pascal source and binary: http://uncopyrightable.front.ru/
|
06-30-2004, 07:22 AM | #124 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Jun 2004
|
Quote:
However it's only available in beta version of the Yahoo Toolbar, and public beta-testing is closed atm. Anyone had more chance ? privmsg me to send any files to analyze. |
|
07-01-2004, 06:33 PM | #125 |
Nameless Being
|
perl
anyone translated it to perl / cgi?
yes i am a lazy guy but if one has done it allready i'll save some time please post here! |
Advert | |
|
07-06-2004, 08:49 PM | #126 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2004
|
Quote:
url: http://www.gsm-security.net/ See how the printed value of ch starts "610..." and the ch value in the URL starts "6610..."?ch: 61014109771 Page Rank URL: http://www.google.com/search?client=...ecurity.net%2F Or is this just me? |
|
07-06-2004, 08:59 PM | #127 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2004
|
These versions need version control.
Last edited by Will.Spencer; 07-06-2004 at 09:22 PM. |
07-07-2004, 09:12 AM | #128 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2004
|
i translated to perl, but it seems that the current implementation im using is only 32bit, and some of the integers ive used as a test are at least 33 bit, which means it doesnt work!
If anyones got a clever solution to do bitwise operations on these numbers, please let me know! Jim |
07-07-2004, 09:51 AM | #129 |
Nameless Being
|
I am actually working on a perl-version, too, right now.
I ran into the problem you described with the first test ... the overflowing with bigger numbers and bitwise operations seems not to work. I actually don't have a clue about all these basical things, I'm doing cgi-scripts most of the time. Anyhow, enough excuses. I think the problem can be solved by not using the bitwise operators on the big ints but simply prepare the ints to behave like in php or bash: for example Code:
sub bitleft { my $first = shift; my $second = shift; my $max = 4_294_967_296; my $special = 1 if($first > $max || $second > $max); $first = $first - $max if($first > $max); $second = $second - $max if($second > $max); if($special == 1) { return ($first << $second); } my $result = $first << $second; return -($max - $result); } $a << $b would be bitleft($a, $b); it more or less works, but does not in all subs deal with signs correctly (eg. the xor-one has a problem with too big negative numbers). drop me a line at jan@delinquent.SPAMISBAD.de and I'll be happy to send you the code I got so far. remove the SPAMISBAD, of course |
07-07-2004, 11:40 AM | #130 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2004
|
Quote:
"Access violation at address 00453B77 in module 'chpr.exe'. Read of address 00000000." |
|
07-07-2004, 12:09 PM | #131 |
Nameless Being
|
mhkay, obviously I really got a problem over here. Got most of the functions ready (but hey, it's ugly, it's really ugly...) but it can't be the right way. anyhow, gonna get them ready and testdrive then.
|
07-07-2004, 05:02 PM | #132 |
Nameless Being
|
damn it, I don
|
07-07-2004, 05:09 PM | #133 |
Nameless Being
|
was trying to say, that I don't get it. I wrote functions that shall bitshift & stuff in perl behaving like php but obviously didn't make it, since they fail from time to time. Since I really don't have the theoretical background for all that, I hope someone else will have more success. the code I've written so far is available at http://www.delinquent.de/ch.txt . It's clean right now, so all my tests are out and it's ready to run. Start it, it tries to generate the checksum for http://www.delinquent.de/, which should be 63086170437 I think. review definetly needed, someone who actually understands more than I do will hopefully solve the issue with a couple of lines.
questions, comments and flames for bad code to jan@delinquent.de.invalid. just leave the .invalid out when using it. |
07-15-2004, 07:36 AM | #134 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2004
|
Google sux !
Last edited by mrseo; 08-12-2004 at 04:34 AM. |
07-17-2004, 05:05 PM | #135 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2004
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Seriously thoughtful Dekker's Algorithm help. | Catire | Lounge | 13 | 03-19-2010 10:03 AM |
Bulk Pagerank Checker Script? | SNaRe | Lounge | 2 | 10-22-2006 04:36 PM |
Google Toolbar Pagerank Checksum Revealed! | Alexander Turcic | Lounge | 5 | 02-17-2006 08:09 AM |
Google Checksum CH calculator | cyberax | Lounge | 2 | 08-17-2004 09:37 PM |