how to go about timed challenges
Alright so im working on timed 1.
its obvious what type of encryption and everything, i am just having trouble using a script to access hbh. some type of brute force/ dos prevention script maybe? but ive written scripts in vb.net and php, and neither one of them was able to pull text off the hbh server.
php:
<?php
$contents = file_get_contents( "hellboundhackers.org" );
echo $contents;
//returns blank page
?>
vb.net:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim file As String
Dim results As String
file = "http://www.hellboundhackers.org"
Dim web_client As System.Net.WebClient = New System.Net.WebClient
Dim response As System.IO.Stream = web_client.OpenRead(file)
Dim stream_reader As New IO.StreamReader(response)
results = stream_reader.ReadToEnd()
MsgBox(results)
'returns a blank message box
End Sub
both of these work just fine with every other web site ive tried, hbh just blocks it :angry:
any pointers here?
Actually, "Blank page" happenedt o me many times, thats cause of cookie… you can pu tyour cookies in array like this:
$headers = array( "Host: hellboundhackers.org", "User-Agent: Mozilla Firefox", "Referer: http://www.hellboundhackers.org/challenges/timed/timedx/", "Cookie: PHPSESSID=rest of cookie" //coooode…… curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
Actually, none of timed challs worked for me now…. be cause i think the sites isn't on the root server, like when you get contents of the page "http://hellboundhackers.org", it converts to this page "http://87.106.143.53/" I dk, maybe this would be fixed..? Or i am wrong?