Username: 
Password: 
Restrict session to IP 
Questions  |  score: 5  |  4.20 5.20 5.98 |  Solved By 224 People  |  108458 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)
0ec2c28d250c4e3bb66029d4c98dda3cef208f0f1q0p
cd432f56e4dfaaf656fe79d3ed4f1382b6a81bb7cmdS
3cca389aa846be727c7fae7f3fc3b23fd4b1ae4cCsAN
94d982c57283f99135357f9a9f503647acee6530qSp5
aa358e7e927679382ea718a14dd8e3d990cfffacWFQm
222ac2cc8469520ae16674c0267fcfa1b5798c17C5CG
247ce700eb0264290394eb281c14485a0dc6af6foMlb
5daf05e9255e5a8c13f01b9ec81a1c038d1924e8JogZ
e3514db0d807270f96e92925de467793c160c84bvEh3
e4dfff3f5bc66034b691c7d9e6e8c0e50c813c29S4XP
d5cac6362458858f2328d6328220e185adf5cb4foCuc
884508358f7684f63577089fb97f12404799748bNqYw
362de360b58260a839d31e6b1fc0c07b59485ac8Qtqs
c702dfaa4b303573ba208c8f13864522e251b921yjw5
18fd9e96a8f503eec101f9aa2e619c03350b3aaedOJG
6aca2e453c424918bdfc1b706b446005efb6835dwhOS
76256d80e53bb5c9c632984bbc77ca0d8576de0e8ioB
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