| Author |
timed1 decrypt problem |
christian879
Member

Posts: 13
Location: Wales
Joined: 28.08.07 Rank: God |
|
I am using PHP cURL to access the page and it ALL works, i can make it alert the string so i know i have the correct coding. I use $ans=base64_decode($hash); on it and then relocate to http://www.hellboundhackers.org/challenges/timed/timed1/index.php?b64=".$ans
this says wrong answer, is base64_decode not the right thing to use or what?? lol
thnx in advance for ANY help =]

|
|
| Author |
RE: timed1 decrypt problem |
Uber0n
Member

Posts: 1963
Location: Sweden
Joined: 13.06.06 Rank: God |
|
That should work 

http://uber0n.webs.com/ |
|
| Author |
RE: timed1 decrypt problem |
reaper4334
Member

Posts: 314
Location: Uk
Joined: 24.11.06 Rank: God |
|
I think I had a similar problem to this when I did the challenge, except I did it in Python.
I can't help you for 100% sure but if you PM me your code I might be able to tell you what's wrong 
|
|
| Author |
RE: timed1 decrypt problem |
slpctrl
Member
Posts: 945
Location: 2147483647
Joined: 19.04.07 Rank: God |
|
on the 'relocate thingy', "http://www.hellboundhackers.org/challenges/timed/timed1/index.php?b64=$ans" will work, double quotes parse variables inside of them.
|
|
| Author |
RE: timed1 decrypt problem |
sharpskater80
Member
Posts: 170
Location: Missouri
Joined: 18.09.05 Rank: God Warn Level: 10
|
|
try
$ch = curl_copy_handle($firsthandle);
curl_setopt($ch, CURLOPT_URL, "the_new_link");
curl_exec($ch);
you needed to send all the info to get the page, so you have to when sending it back as well. Maybe the problem, I don't know.
Edited by sharpskater80 on 12-08-08 23:29 |
|
| Author |
RE: timed1 decrypt problem |
christian879
Member

Posts: 13
Location: Wales
Joined: 28.08.07 Rank: God |
|
hmmm, quick question, is the decrypted string supposed to make sense? cos they all look extremely random lol

|
|
| Author |
RE: timed1 decrypt problem |
christian879
Member

Posts: 13
Location: Wales
Joined: 28.08.07 Rank: God |
|
lol fixed it, just have a speed problem, just gonna put a refresh code in it, and loop it while i have a shower, maybe itll get it lol, any advice on getting it under a second is more than welcome tho xD

|
|
| Author |
RE: timed1 decrypt problem |
mastergamer
Member

Posts: 432
Location:
Joined: 07.02.06 Rank: God |
|
Optimize your code a bit? Write it in a faster language? Run it on a computer with a faster internet connection?
|
|
| Author |
RE: timed1 decrypt problem |
Uber0n
Member

Posts: 1963
Location: Sweden
Joined: 13.06.06 Rank: God |
|
|
mastergamer wrote:
Run it on a computer with a faster internet connection?
That's defiantely the most important thing for the timed challenges, even more important than effective code lol ^^

http://uber0n.webs.com/ |
|
| Author |
RE: timed1 decrypt problem |
986
Member

Posts: 45
Location: Hungary
Joined: 18.01.08 Rank: Hacker Level 2 |
|
What kind of chars should i look...? o_O I'm using cURL from command line, with one of the GNU coreutils, and i can decode the string, it should be correct, 'cause i decrypted it in an online decoder and it's same as mine... Should i get chars like ^},;? 
Edited by 986 on 13-05-09 09:06 |
|
| Author |
RE: timed1 decrypt problem |
ynori7
Future Emperor of Earth

Posts: 1481
Location: #valhalla
Joined: 08.10.07 Rank: Diabolical |
|
986 wrote:
What kind of chars should i look...? o_O I'm using cURL from command line, with one of the GNU coreutils, and i can decode the string, it should be correct, 'cause i decrypted it in an online decoder and it's same as mine... Should i get chars like ^},;? 
It should be ugly. Here's an example of one I just decoded: 'qkf=*g({f2p;*l-h'
You must be sending it wrong.
By the way, this thread is old.
|
|
| Author |
RE: timed1 decrypt problem |
986
Member

Posts: 45
Location: Hungary
Joined: 18.01.08 Rank: Hacker Level 2 |
|
The tread is old, but my question is actual for me. The problem is not the way of sending, but the time... My PC is old (500MHz) and the net isn't good to... (1024/512)
|
|