Username: 
Password: 
Restrict session to IP 
Questions  |  score: 5  |  4.20 5.20 5.98 |  Solved By 222 People  |  102597 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)
0af65482434fa8bd10cd59360bf067ce07434cd1hfkJ
577006385b47d7dc8cfb4a5eaf64b78d6ccbb0f9v779
bfd9bed7952f2fce7f4edd47ee64edf536eb83c80NEU
38a31259655b8e6f9c71726270a89b23328b0521UuYp
f38efcddf77fec3bec202524ebf9f8dfb328004cIL5h
1ce68f404d5b59a179ff17a087efaecb480dea4524t5
a49d289eefaafb474bd284db06cf35617e453c2cfC0y
ba1b1137ef78fd29baee24775c3c7be3d0202785qGVC
e606014365107a65c82bcd05c7b73796e4f993c2FKum
3bd4f133c3e4b060c52b722a6790af7abc35e9c08O37
86f00a1de1ad58de1ff5c0e2e7389728843e78996YoY
987a77978ae334a7b60b3c44f1ea64ea2f6dbebfk9fX
4f732356327a64aab972fac82c8c492560452e74MzrS
0dc5435fd54d4772db8383f6e9685ff8a673e280Lpi0
b15d34cd96ef5eef62377e31f3fa0b73a1a69052DBP9
5dc0cd541e4464e8e4a3edd17301fe1df8ccc416M4ZK
6651c5eb6d533d1af449a8e9bf5ceab4384097625VHC
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