Username: 
Password: 
Restrict session to IP 
Questions  |  score: 5  |  4.20 5.20 5.98 |  Solved By 224 People  |  108521 views  |  since Dec 02, 2010 - 19:50:50

WC Hashing Game (Cracking)

WeChall Hashing Game
Welcome to the WeChall Hashing Game.
Your mission is to crack 2 lists of hahes.
The first list is using the WC3 hashing algorithm, which uses some fixed salt md5.
The second list is using the WC4 hashing algorithm, which uses salted sha1.

The solution is the 2 longest plaintexts of each list, concatenated with a comma.
Example solution: wordfrom1,wordfrom1,wordfrom2,wordfrom2.

The goal of this challenge is to demonstrate the advantage of the new algo over the old.
Note: All passwords are lowercase and real english words from a dictionary.
Some thanks go to Z, for encouraging me to change WC4 hashing algorithms.

Happy cracking!
GeSHi`ed PHP code for hg_wc4.php
1
2
3
4
56
7
8
9
1011
12
13
14
1516
17
18
19
2021
22
23
24
<?php
define('HASHGAME_SALT_WC4', 'zomgsalt4');
 
function hashgame_wc4_salt($len = 4)
{        $alpha = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
        $max = strlen($alpha)-1;
        $back = '';
        for ($i = 0; $i < $len; $i++)
        {                $back .= $alpha[rand(0, $max)];
        }
        return $back;
}
 function hashgame_wc4($password)
{
        $salt = hashgame_wc4_salt(4); // Generate random salt.
        return hash('sha1', HASHGAME_SALT_WC4.$password.$salt.HASHGAME_SALT_WC4, false).$salt;
} 
# PS: If you like the algo, you can grab the whole src from /inc/util/Common.php
# All the GWF/WC4 stuff is free as in beer ;)
?>
List of WC4 hashes. (WC4 Algo)
46a954f07db6cad49ad8c0cc17a9918e212e5b6clTvE
b7c02cdb9506b26f89efae20274f9f69f8d1500dcecd
0d2cb0320835af0dc1469b7428db403d45e6097bElUs
c5c257e40a46537e53a8dff4766fd83ce5772c89xJ3E
5256d7ef253d6cb82696306d46d50719a826123cAuFe
beef638c31de2c96f1c5f2a131197ca3756deb4aQALu
0f0100750ca8d0204522e5830cd6f11dbecd8f64Whcj
7bdc48c230993f42d1879e44a5bc14c706645725gVnL
c569a970360b63eec4982a58ccbf52e034ff4ba3ZU0c
e3fa02e9b01030e8756849628c3ad9a2c1cd6131GJhR
ddc57a1e97b764722591c240ebee8d03e3366dd97uhm
e97db94b29e6bc60bd0d97b6cd483d815286a47cjCQ7
3b19daf0f6526d4342318ff3bdb03fd65d22daebZgQU
b244bd0118de305d1b71ec94429eb87d429541ceibOp
4340e16f3fea5a230134bdcd4c6798130f17c986x9fx
75b1c0541384db497b92d70966f7e1a87a303fc90wJu
198465bcd9b70f19afa4c603f86a45e3d1099e3bAQcF
Your solution for WC Hashing Game
Answer
© 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 and 2024 by Gizmore