
creator: zomgwtfbbqWelcome to the first tournament on Tools & Design.
slots: (8/10)
status: open
winner: 500 karma points + coding award
second: 300 karma points
third: 100 karma points
stats: tournament statistics
Your job is to code a program that cracks a random string, the person that cracks his/her string in the least amount of time wins the tournament.:xmas:
After joining and fetching your key this tournament you can activate your cracking frenzy, but before you do this, it's recommended to code your bruteforcer as it will save you lots of time.
The decrypted passwords (sha1) consist of the following characters(regex):
[abcdefz]{12} - only one of the characters is a 'z'
Below is the algorithm of the encryption:
<?php
$sString = "abdcdef";
$iChars = 12;
$iOffset = mt_rand(0,$iChars-2);
$sBuffer = "";
for($x=0;$x<$iChars-1;$x++){
if($iOffset==$x){
$sBuffer .= "z";
}
$sBuffer .= $sString[mt_rand(0,strlen($sString)-1)];
}
$sHash = sha1($sBuffer);
// possible output:
// abcdefzabcde
?>
HINT: Adjust your script so that it will, after bruteforcing is finished, post the result to save some time.
| rank | username | start | disqualified | answer | finished | total time |
|---|---|---|---|---|---|---|
| 1 | Mandara | 10-14 | ![]() | efdadzdbddaa | ![]() | 1(m)22(s) |
| 2 | zomgwtfbbq | 10-12 | ![]() | bddzcadebdcd | ![]() | 13(m)26(s) |
| 3 | lasQo | 01-30 | ![]() | ddfadbeazdba | ![]() | 13(m)45(s) |
| 4 | takedown | 03-13 | ![]() | aabbfdcazece | ![]() | 14(m)37(s) |
| 5 | valsa | 09-29 | ![]() | xxxxxxxxzxxx | ![]() | 85(w)3(d)18(h) |
| 6 | criple_ripper | 07-30 | ![]() | xxxzxxxxxxxx | ![]() | 94(w)2(d)9(h) |
| 7 | alone | 10-08 | ![]() | xxxxzxxxxxxx | ![]() | 136(w)2(d)21(h) |









