Username: 
Password: 
Restrict session to IP 
Questions  |  score: 5  |  4.20 5.20 5.98 |  Solved By 224 People  |  108327 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)
dfc2a4cc5bf79ac9e8a8ac03a18396552f05c455bWjj
f0896aff7cf53e1ba1765de2b251cead4fb3e5a19m6W
86ea8c100b2fff214626c92fdfbe23441da9f339butW
971bdbe841a498aebb53d4a0b19d56cb64713a71jaDc
8441ab1f29302180d21bc5e6ca8197d77e596413JHly
2d73ed54fd235908a476f20e82c0b819c3276ddbYmBg
0b3678dc38e60979c12f595a16a767281e8909bevpg2
71ac387562227af091e7484badd2553f1fc02762ipeJ
510c3e34488a2f16f81a9e1dc7abd21a8100ddefmRR3
6a820e68848e03bff3a41183156b4adb4f8aae70Sfjz
f7976bc7df18b2c0b9345b6046b7f753c5d76246hFCK
157c5b2ee658902e3e27e1843c54a6bca7e5cf9amEXJ
d1ed2267c582812f342d61b1f9eb28eeb58de29eUNY5
7659ffed9ecbb196a5af1eb2be0bf2568190dfcbJKgj
fad3166194d5fd93eb1daf0407a27b576671d2e3b3yx
0dfdc9e164842e7607329c9f24195bd5fcfe399fq2zQ
c9a60bf6373891f436c70502a5d1fde8514c33faKz4B
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