Username: 
Password: 
Restrict session to IP 
Questions  |  score: 5  |  4.20 5.20 5.98 |  Solved By 220 People  |  102199 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)
46efc2d9124a782b0ccb067097366954c0038e8cRi2a
f60afa457c11a6dcd2c05a60b1bb257e5a95f69frWaJ
662678cc8cf14bd63eb197fc3ec0bbe6f79b8366rUGv
b18a2fc2057cf4133c33c0680da3a2eec20c2688a5pp
c430fc0ad2c32e84ff44438bff2c83d110a7f37dV68L
6e53fdd5a62ccce864d58653885057d51f6e6a08YhIg
82129de6d5f2d765c1c830ccb1c0af1cc670f3cfoRkL
66bcae888826fa255650c7cb26f00356eade08e3ndET
e5e753272d2a3a808eaf2c5f69e6800b3ab994e0bgwJ
61689158fe3be5a281b0e3fa6a8467cc451e65c3I0O7
1eb22e1b8f1416908f2600972464ace1c0ebb40fOYpz
2509d30987bcda6d2caa1ed618c7c510cbfcd4b8zgbT
5c734b7af482b0c8db580626c8e4a0ed973e31c5mrtW
68b9e7d136e51dda0ed4387c0be7c35d9cbbb5244Pvd
ac3c74019c5dd973626ad2aa4ca1362ed9d86fceGyp4
f762e9af799a407d5556bac7d47238896416f0ae3loE
d79e097d8b202ecd9f4c6b5bd1791e834825142e1qZ8
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