Moderators Dragos Posted January 4, 2012 Moderators Report Posted January 4, 2012 (edited) Challenge-ul e facut de data asta pe trei trepte. Postati un screenshot cu mesajul de final fara raspunsuri.Challenge-ul s-a terminat.DE CITIT- merge pe acelasi principiu ca cel vechi - gasiti literele din care e format cuvantul si apoi formati silabe si in final cuvatul- la nivelul 2, dupa ce setati cookie-ul, dati refreshHave fun! Edited January 6, 2012 by Dragos Quote
Moderators Dragos Posted January 6, 2012 Author Moderators Report Posted January 6, 2012 S-a terminat challenge-ul.Sursa, pentru cei interesati<?phpif($_GET['cuchic']!=""){setcookie("cuchi3",$_GET['cuchic'],time()+10);}?><html><head><title>Bruteforce Challenge 2</title></head><body><center><h1>Bruteforce Challenge 2</h1><?phpif($_GET['level']==""){?><form action="" method="post"><input type="text" name="cuchi"><input type="submit" value="Incearca"></form><?php if($_POST['cuchi']=="ciment"){echo "<div style='color:green;font-weight:bold'>Felicitari! Treci acum la nivelul 2 apasand <a href='?level=2'>aici</a>.</div>";}elseif(@stristr("ciment",$_POST['cuchi'])){echo "<div style='color:orange;font-weight:bold'>Esti pe aproape..</div>";}elseif($_POST['cuchi']!=""){echo "<div style='color:red;font-weight:bold'>Gresit..</div>";} ?><?php}elseif($_GET['level']=="2"){?>Gaseste valoarea pentru cookie-ul "cuchi3".<br /><form action="" method="get"><input type="text" name="cuchic"><input type="hidden" name="level" value="2"><input type="submit" value="Baga cookie"></form><?phpif($_COOKIE['cuchi3']=="chips"){echo "<div style='color:green;font-weight:bold'>Felicitari! Treci acum la nivelul 3 apasand <a href='?level=6525123123125'>aici</a>.</div>";}elseif(@stristr("chips",$_COOKIE['cuchi3'])){echo "<div style='color:orange;font-weight:bold'>Esti pe aproape..</div>";}elseif($_COOKIE['cuchi3']!=""){echo "<div style='color:red;font-weight:bold'>Gresit..</div>";} ?><?php}elseif($_GET['level']=="6525123123125"){?>Gaseste valoarea pentru hash-ul 89055f975d7ddbd99646d954daf3cbb5.<br /><form action="" method="post"><input type="text" name="lvl3"><input type="submit" value="Incearca"></form><?php if($_POST['lvl3']=="romania"){echo "<div style='color:green;font-weight:bold'>Felicitari! Ai terminat Bruteforce Challenge 2.</div>";}elseif(@stristr("romania",$_POST['lvl3'])){echo "<div style='color:orange;font-weight:bold'>Esti pe aproape..</div>";}elseif($_POST['lvl3']!=""){echo "<div style='color:red;font-weight:bold'>Gresit..</div>";} ?><?php}?></center></body></html> Quote
wildchild Posted January 6, 2012 Report Posted January 6, 2012 Ai scriptul mai sus, ce-i asa greu sa-l urci pe localhost sa testezi? Quote