Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.
cURL problems
for timed 1: i use like this
<?php
$url = "http://www.hellboundhackers.com/challenges/timed/timed1/index.php;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6");
curl_setopt($ch, [CENSORED]);
$result = curl_exec($ch);
curl_close($ch);
[some codes to get the base64 string]
$dec= base64_decode($base);
$url = "http://www.hellboundhackers.org/challenges/timed/timed1/index.php?b64=$dec";
header("Location: $url");
?>
the location i get is always url-decoded. so ` was interpreted as %60.
- timed2, i code it and get "Malformed Request".
<?php
$url = "http://www.hellboundhackers.org/challenges/timed/timed2/index.php";
//$url = "http://localhost/timed2.htm";
$ch = curl_init();
[same curl declarations]
[some code to get sum, store it in $jmlh]
$url = "http://www.hellboundhackers.org/challenges/timed/timed2/index.php?check";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "ans=" . $jmlh);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6");
curl_setopt($ch, CURLOPT_COOKIE, [CENSORED]);
$result = curl_exec($ch);
curl_close($ch);
echo $result;
plz help me with these problems. thnx