Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

how to go about timed challenges


ghost's Avatar
0 0

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?


ghost's Avatar
0 0

can't help you, but it's relevant to my interests, so bumpity bump.


ghost's Avatar
0 0

anyone?


ghost's Avatar
0 0

Inline Javascript maybe? Not sure. Then also, maybe you have to get the specific file.


mido's Avatar
Member
0 0

Use cURL…


ghost's Avatar
0 0

i did them all with .NET (c#) using WebBrowser component.


mido's Avatar
Member
0 0

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?


ghost's Avatar
0 0

All you need is cURL and str_eregi()…


ghost's Avatar
0 0

according to other posts ive heard that hbh requires a user agent. maybe that's it? they said that you get blank page if you dont have one. so…?:ninja::ninja::ninja:


clone4's Avatar
Perl-6 Wisdom Seeker
0 0

why are you opening old dead thread?? BTW you need to login to access the challenge pages, and also have a valid referer, useragent and cookies with all the requests