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.

Does HBH block this??


K3174N 420's Avatar
Satan > God
0 0

im trying to do the timed challenges, and have got some code that works fine on other sites, but not here…

code for google images…:

<html>
<head>
<title>
my page
</title>
</head>
<body>

<?php
    $curl = curl_init();
    curl_setopt ($curl, CURLOPT_URL, "http://www.google.com/imghp");
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);

    $result = curl_exec ($curl);
    curl_close ($curl);
    print $result;
?>

</body>
</html>

works fine, acts basically as a redirect, but with my url still, but if i replace: curl_setopt ($curl, CURLOPT_URL, "http://www.google.com/imghp"); with http://www.hellboundhackers.org or http://www.hellboundhackers.org/challenges/timed/timed1/index.php

i just get a blank page… it cant be my code unless its lacking somthing, i thoght cookies, but even so, it should return SOMTHING shouldnt it?


spyware's Avatar
Banned
0 0

cURL works fine on HBH. You need cookies in order to do the challenge, though. Oh, and I'm too lazy to check your code.


K3174N 420's Avatar
Satan > God
0 0

trying

     $curl = curl_init();
    curl_setopt($ch, CURLOPT_COOKIE,"PHPSESSID=***, fusion_user=***");
    
$fp = fopen("somefile.txt", "w");
curl_setopt ($curl, CURLOPT_URL, "http://www.hellboundhackers.org");
    curl_setopt($curl, CURLOPT_FILE, $fp);

    $result = curl_exec ($curl);
    curl_close ($curl);
    print $result;

?>

now, when i demo google, my page simply displays '1', and the txt file is filled with all the source…

when i use a hbh url, i still get a '1' showing a positive response, but that responce is deleting the contents of the txt… >.>


spyware's Avatar
Banned
0 0

copy/paste away, idiot. You have no clue what you're doing right? Oh, and also; first refresh your thread and THEN reply. You just double-posted, but you didn't. Understand?


K3174N 420's Avatar
Satan > God
0 0

spyware wrote: copy/paste away, idiot. You have no clue what you're doing right? Oh, and also; first refresh your thread and THEN reply. You just double-posted, but you didn't. Understand?

yes, i have very little idear what im doing when it comes to cURL, but isnt that what sites like this are for, for when ppl wanna learn?

and maybe i was intending to post after my 1st post, but only coz

  1. i tried to add cookies, and
  2. i found out i was getting a positive response from hbh, even if it was a blank 1.

and also i didnt post this to be called an idiot, grow up.


spyware's Avatar
Banned
0 0

K3174N 420 wrote: yes, i have very little idear what im doing when it comes to cURL, but isnt that what sites like this are for, for when ppl wanna learn? Google "cURL tutorials" and/or "cURL how-to", you know, those really complicated queries give results.

and maybe i was intending to post after my 1st post, but only coz

"Was intending?". No, you intended to post right after your first post. There's a difference. Also; the reasons you're about to list don't matter at all.

  1. i tried to add cookies, and
  2. i found out i was getting a positive response from hbh, even if it was a blank 1.These reasons don't matter at all. To clarify: EDIT, there's a BUTTON for it. USE IT.

and also i didnt post this to be called an idiot, grow up. I didn't post in this thread to get told to "grow up" by an idiot.


K3174N 420's Avatar
Satan > God
0 0

spyware wrote: [quote]K3174N 420 wrote: yes, i have very little idear what im doing when it comes to cURL, but isnt that what sites like this are for, for when ppl wanna learn? Google "cURL tutorials" and/or "cURL how-to", you know, those really complicated queries give results.

and maybe i was intending to post after my 1st post, but only coz

"Was intending?". No, you intended to post right after your first post. There's a difference. Also; the reasons you're about to list don't matter at all.

  1. i tried to add cookies, and
  2. i found out i was getting a positive response from hbh, even if it was a blank 1.These reasons don't matter at all. To clarify: EDIT, there's a BUTTON for it. USE IT.

and also i didnt post this to be called an idiot, grow up. I didn't post in this thread to get told to "grow up" by an idiot.[/quote]

your seriously lucky your over the internet buddy… seriously lucky.


spyware's Avatar
Banned
0 0

K3174N 420 wrote: your seriously lucky your over the internet buddy… seriously lucky.

I could PM you my address, you could fly over and threaten me IRL, however, your mom probably won't let you :/.

Sucks.


K3174N 420's Avatar
Satan > God
0 0

spyware wrote: [quote]K3174N 420 wrote: your seriously lucky your over the internet buddy… seriously lucky.

I could PM you my address, you could fly over and threaten me IRL, however, your mom probably won't let you :/.

Sucks.[/quote]

confident in you belief that i wont fly over? yea, i really could not be arsed to go that far, but as for the mom bit, i am 23 and got my own house, as crappy as it is… anyway, shut up now, you are really pissing me off :-/ and you completly destroyed this thread.:|


spyware's Avatar
Banned
0 0

K3174N 420 wrote: confident in you belief that i wont fly over? yea, i really could not be arsed to go that far, but as for the mom bit, i am 23 and got my own house, as crappy as it is… anyway, shut up now, you are really pissing me off :-/ and completly destroyed this thread.

23? Well, I'll give you a break then. It's not fun being 23. Aaanyway, have fun cURLing the shit outta HBH.


ghost's Avatar
0 0

Use the Search. There are plenty of forum posts on how to use cURL to complete the challenges that need automation.

… And silent threats over the Internet make you look childish.


K3174N 420's Avatar
Satan > God
0 0

yea, started looking, getting closer i think…

Zephyr_Pure wrote: … And silent threats over the Internet make you look childish. so does random insults, its catch 22 unless i dont say anything…


ghost's Avatar
0 0

Zephyr_Pure wrote: … And silent threats over the Internet make you look childish. K3174N 420 wrote: so does random insults, its catch 22 unless i dont say anything… There might be hope for you yet.


spyware's Avatar
Banned
0 0

**K3174N 420 wrote:**so does random insults, its catch 22 unless i dont say anything…

Idiocy is hard to overcome :-(. If you want real help in this thread though, go code something yourself, then post it back here. No smileys.


K3174N 420's Avatar
Satan > God
0 0

ok, heres where im at…

at 1st the page wouldnt load when i tried to include the fusion_user cookie var, but now it loads with it, but im till not logged in! :(

heres my code,

<?php

$ch = curl_init();

curl_setopt($ch,CURLOPT_COOKIE,"PHPSESSID=o****ma*****6bo******u***2");
curl_setopt($ch,CURLOPT_COOKIE,"fusion_user=****5.*******c1*********a*************");
curl_setopt($ch,CURLOPT_COOKIE,"fusion_lastvisit=****8*****");
curl_setopt($ch,CURLOPT_COOKIE,"fusion_visited=TRUE");
curl_setopt($ch,CURLOPT_COOKIE,"__utmb=2****9**4");
curl_setopt($ch,CURLOPT_COOKIE,"__utmc=2****9**4");
curl_setopt($ch,CURLOPT_COOKIE,"__utma=2****9**4.****1****.*****5****.*****5****.1*********.*");
curl_setopt($ch,CURLOPT_COOKIE,"__utmz=2****9**4.*****5****.*.*.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)");



curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)");

$url = "http://www.hellboundhackers.org/challenges/timed/timed1/index.php";
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);


curl_setopt ($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

    $result = curl_exec ($ch);
    curl_close ($ch);
    print $result;
?>

Night_Stalker's Avatar
Member
0 0

K3174N 420 wrote: ok, heres where im at…

at 1st the page wouldnt load when i tried to include the fusion_user cookie var, but now it loads with it, but im till not logged in! :(

heres my code,

<?php

$ch = curl_init();

curl_setopt($ch,CURLOPT_COOKIE,"PHPSESSID=o****ma*****6bo******u***2");
curl_setopt($ch,CURLOPT_COOKIE,"fusion_user=****5.*******c1*********a*************");
curl_setopt($ch,CURLOPT_COOKIE,"fusion_lastvisit=****8*****");
curl_setopt($ch,CURLOPT_COOKIE,"fusion_visited=TRUE");
curl_setopt($ch,CURLOPT_COOKIE,"__utmb=2****9**4");
curl_setopt($ch,CURLOPT_COOKIE,"__utmc=2****9**4");
curl_setopt($ch,CURLOPT_COOKIE,"__utma=2****9**4.****1****.*****5****.*****5****.1*********.*");
curl_setopt($ch,CURLOPT_COOKIE,"__utmz=2****9**4.*****5****.*.*.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)");



curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)");

$url = "http://www.hellboundhackers.org/challenges/timed/timed1/index.php";
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);


curl_setopt ($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

    $result = curl_exec ($ch);
    curl_close ($ch);
    print $result;
?>

You do know, there is a button. It reads, "Disable smileys in this post" I believe spyware wanted you to use that button to disable smileys in your post…


K3174N 420's Avatar
Satan > God
0 0

thas all it takes, i kinda presumed the code tages would removes smileys tbh… anyway

is: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">

anything i need to implement into my code somehow?

its the start of the file my script returns


ghost's Avatar
0 0

K3174N 420 wrote: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> its the start of the file my script returns That just says that XHTML is being used on the page. Nothing special.