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.

Realistic 11 - Removing Database


ghost's Avatar
0 0

Hello :)

I hope some of you can help me on how to remove the database in realistic 11. I have read articles about real 11, tried some different stuff. I was thinking about how to do it in JS.

Can someone help me in some way?

//BoeGe-FaeTTeR// :)


richohealey's Avatar
Python Ninja
0 0

i'm afraid i'm not much help in javascript…. i can help you in cURL or python though!


ghost's Avatar
0 0

python w00t!


ghost's Avatar
0 0

it isn't possible in javascript :)


ghost's Avatar
0 0

willeH wrote: it isn't possible in javascript :)

Ah crappy, i understood from some other people on HBH that it was possible xD Stupid me.


richohealey's Avatar
Python Ninja
0 0

i'm pretty sure you could do it, with an iframe and code outsideof it pushing it through all the pagese it has to view and submit.


ghost's Avatar
0 0

I did it in VB. It wasn't hard for me.

And it is possible to do it in javascript :D


ghost's Avatar
0 0

willeH wrote: it isn't possible in javascript :)

i do it in javascript ;) i use document.body.innerHTML and split(); it was very easy


ghost's Avatar
0 0

i think what he is talking about that people were using javascript in this challenge,is once you are able to double the number, you can use javascript to go the URL that you want with the doubled number.


ghost's Avatar
0 0

Ah i understand now xD


ghost's Avatar
0 0

I did it with GreaseMonkey which use Javascript. You can get it to grab the number, double it and go to the right URL as soon as the page loads.

All done nice and easy.


ghost's Avatar
0 0

i did it in C, if you need help writing a small C program to solve this mission contact me through pm.

Cheers /dw0rek


ghost's Avatar
0 0

can any one pm with the cURL


lukem_95's Avatar
Member
0 0

argh! i finally got the JS together to get it to work, but now i dunno how to get it to execute on the webserver, because i cant paste it quick enough.

:@


synstealth's Avatar
PHP WARRIOR
2,490 1

im using cURL on this .. am having trouble trying to LOG IN to the adminpanel

I logged in hbh and set cookie, then tried to do the same for the level 11 but im stuck .. am trying to do this so I can get the data from backup.php and run the script to double the number.

anyone pm me to see my code and find out what I am doing wrong.

NOTE: this is only a snippet, not showing complete unless requested


// code here to login hbh and set cookie to $cookieFile//
// rest of code is for level 11 //

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $gameurl);
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookieFile);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
	
ob_start();
$final = curl_exec ($ch);
ob_end_clean();

curl_close ($ch);
	
echo "Final result: <br />".$final; // shows only the login page (not logged in) 


lukem_95's Avatar
Member
0 0

do you know perl?

i tried in C, (tried to learn cURL but failed) VB and JS and messed them all up. got second closest in C.

anyway, i did it in 5 mins with perl.


ghost's Avatar
0 0

What Perl modules did you use, cause i'm having a few little problems with my perl script. Got everything to work except loggin in to HBH itself.


ghost's Avatar
0 0

Nevermind, I just solved it, changed a thing, and now it works.