Username: 
Password: 
Restrict session to IP 
Questions  |  score: 5  |  4.20 5.20 5.98 |  Solved By 227 People  |  109691 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)
682f76d54ddbbdcf359392d4f0494262afda3894jWxh
a5f6ccff5ca059e02bb001370238046466468857xCRE
77f9af02b291f6a68fff029450ab2e491506828a6CF5
d5de1f95d897da1093843b66309c43f207e9a70dUmW0
5248bfe347e3a2e8ee5a827c94f1eb326d30fa4cO5Id
65323b29727f2ecc36a49db69cb3fa3357556a8dybmF
7b24542b9664fa1356d8e6bf7b3c72584c4eda6eRG06
9f00a238183e2c3a2cbc6e3a1115b1056d0a380dLCHj
1feb6eafbd26a658a4bdc5002bd670a2dd154c313v1y
b7006910f999910742298ce296e9ecc87e17bf38Y4D1
ea12eea9251b4b5fd61646600e24adc2740bf388ZqgG
993c3f98c8ce5b4cf99a4b0335827ff0166028a0Tfxy
2d06b710a05c663dc11f9ea0a80e19690f54a310Yxcp
46de0fe4cecdc1a4543fb0540cf14748c14c3e81JE6w
5f074e2e9e6cdc3655c3af218924e77551b7ed1dGZX5
81f4093f482c3c1b112ad24be57ea684be7704f3ezZv
aad26d2eaf02c051c0991d6f9d001fbf91a48351vt2z
Your solution for WC Hashing Game
Answer
© 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024 and 2025 by Gizmore