May 20, 2012, 10:35:13 AM *
News: THC is up and running !
 

have you tried the hacking tournaments yet?
hacking competitions
Like the normal hacking challenges, but slightly different as you will have to hack the site before the others do.

Tools & Design: Forum > Competitions > coding > coding:1

Tournament: Coding Tournament 1: String Cracking
 
Coding Tournament 1: String Cracking
lookup forum thread for this tournament zomgwtfbbq get key to start the challenge join this tournament


creator: zomgwtfbbq
slots: (8/10)
status: open
winner: 500 karma points + coding award
second: 300 karma points
third: 100 karma points
stats: tournament statistics
Welcome to the first tournament on Tools & Design.
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.

rankusernamestartdisqualifiedanswerfinishedtotal time
1Mandara10-14
efdadzdbddaa
1(m)22(s)
2zomgwtfbbq10-12
bddzcadebdcd
13(m)26(s)
3lasQo01-30
ddfadbeazdba
13(m)45(s)
4takedown03-13
aabbfdcazece
14(m)37(s)
5valsa09-29
xxxxxxxxzxxx
85(w)3(d)18(h)
6criple_ripper07-30
xxxzxxxxxxxx
94(w)2(d)9(h)
7alone10-08
xxxxzxxxxxxx
136(w)2(d)21(h)
lookup forum thread for this tournament zomgwtfbbq get key to start the challenge join this tournament
 

* Tools & Design: Hack Challenges Tournaments & Scripts - Info Center
Forum Stats
Forum Stats 116405 Posts in 115201 Topics by 12843 Members.
Latest Member: URBARIAMI
Total Hacking Challenges: 83
Total Tournament Challenges: 9

[More Stats]
Users Online
Users Online 34 Guests, 0 Users

Most Online Today: 87. Most Online Ever: 432 (April 18, 2011, 02:30:03 PM)
Login (Forgot your password?)
Login
SMF Board hacked and modded by zomgwtfbekjam aka Rembo from Tools & Design