Jump to content
Dragos

Simple Bruteforce Challenge 2

Recommended Posts

  • Moderators
Posted (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 refresh

Have fun!

Edited by Dragos
  • Moderators
Posted

S-a terminat challenge-ul.

Sursa, pentru cei interesati

<?php
if($_GET['cuchic']!="")
{
setcookie("cuchi3",$_GET['cuchic'],time()+10);
}
?><html>
<head>
<title>Bruteforce Challenge 2</title>
</head>
<body>
<center>
<h1>Bruteforce Challenge 2</h1>
<?php
if($_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>
<?php
if($_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>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...