View Single Post
Old 05.04.2006, 05:53   #10
ANRDaemon
Архивный участник
 
Join Date: Feb 2006
Posts: 158
Default

You cannot decrypt, but You can(still) [find] password.
L2 encrypt() function very dependent on it's argument.
Look at this example:
I give incremented word to hash function in this order:
[php:1:e543cbb227]require('l2tools.php');

echo(l2tool::encrypt('Do ')."\n");
echo(l2tool::encrypt('do ')."\n");
echo(l2tool::encrypt('dog ')."\n");
echo(l2tool::encrypt('dogs ')."\n");[/php:1:e543cbb227]

And I get followed results:

Code:
0xb513e990912688c075466face163d585
0xb503611b1aad034bfecde4276ae85e0e
0xb5031f0203b41a52e7d4fd3e73f14717
0xb5031f0607b01e56e3d0f93a77f54313
As You see, each result string have simple relativity to previous and to source string.

I do some additional tests with fifth letter in next way: I give, in order, strings "dogsa", "dogsb", "dogsc", "dogsd", and get these results (in same order):
Code:
0xb5031f0687b0f2bb0e3d14d79a18aefe
0xb5031f06bbc386cf7a4960a3ee6cda8a
0xb5031f06bb024a03b685ac6f22a01646
0xb5031f06bf450e47f2c1e82b66e45202
For next round, I do some tests in L2CP, wich installed as registration front-end on our web site, and I found some interesting moments: 1. ALL passwords is lower-case (due to stupid coders of L2CP) and 2. ALL cyrillic characters are stripped from passwords, questions and answers (due to stupid ... again).

Yup... In the next time, I may wrote simply script, that try to restore passwords by L2 hash... Very simple and not so slow script even if written in such slow lang, as PHP.
ANRDaemon is offline