Username: 
Password: 
Restrict session to IP 
Questions  |  score: 5  |  4.20 5.20 5.98 |  Solved By 221 People  |  102357 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)
b50b098b067a290f545f1302064b5c9ad3d8a64eDshP
13cf44486b7e35781a44cbb8b22c45a3750d0861LTNv
2cefa829034d93b44c64818b9f9ceac000b27c124PWC
048fcc2cb5b49cd0cb38c913f6ed5c2ab56e2d20JILz
cbc332c660cc0fbbc606b23df9b05b5907fb8b86gQzr
f0ac25a01aef5a747c837b33eb57c2c39ab0332cdXRd
9fd2bec362afa83100514103a2e204ae34d47a9dQQFk
12bbbf39c35bcc7e2dbc7ac1bcbba90429d3b1beGpCa
0f9fa06943d3af34d7d9d3c11de348d2fce03b48S96c
d353aedb36d39a6608b5db8bce98a4e291c9ecbfgRTO
29ae6de10f2a974ee022acdc6474bf5b7b9547a7YMOt
4a4d78ea4f976d2b6ea538bb2bd7e5f1cbd897f3AvPL
11c3dccf30c1e4e0097c7444c651ac1af1f386a8fQGP
f2c87b2fd65bbe82c0e754c8303fe65f0ac475cbfLR7
80e770972485d30cc3d3ff94fba49bfb044d2ebaJVwB
c627b3330af22622f8ae4bdabf23a4125aab28ceXWPX
e4c1dc5bcd099705bd29d0677c12516590ebc9e4YYjX
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