Username: 
Password: 
Restrict session to IP 
Questions  |  score: 5  |  4.20 5.20 5.98 |  Solved By 220 People  |  102211 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)
b01dd77cc4bc5a620cf9823c0f30b43a0e47a9a9c26P
81c57517ba24fc59c4227db53cf7661b985518canlQI
7c5b5561ece5ec14457a7ed6d8ba2a21b8c3bfd71Bgu
9e4cf927da7306dab473e597d4b55293e2440325h1yt
2285fae53317fba86020c3f1faabf64d1409adacApR7
ae606bf53673b1d55f8c7f5141b5a120836163ecbWoj
2e756a87934f88fc3202a44d750e9d1a88c53488zNdk
b3e53238fcace4fe602041e17537dc01aef2e7bfF3BP
bb06c08a1256d5b496a68fd50cddf6aec23a823fhPNm
bc4969d5e925b96e49a635a764cdea03d49d757bGUPQ
7c0b0f173a558bd2cea1375cf7ec678d29c43621iceq
2e0949c0e04ca2f024c0680833d3ac93eeefaf25JSO6
ca7b8c72bf9f9733cfe222fc46508086f9f87596vQW2
9cbb5a2a24a58c3d7af7175f96e5eddc2e9de364gQzi
baeea07ad50860d90cfdf6df2e1e501caabeee4cnENv
3bfbbc782314d4594ca7746f6f8e7e043587604bPBRu
6b5ce18b4ae753841dc82d9914d1e3a06524e0e0H2Hd
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