Protected Password 3

User avatar
teebee
Posts: 89
Joined: Mon Nov 10, 2008 3:21 pm
Location: Germany

Post by teebee »

I think the challenge is broken:

Code: Select all

java.lang.ClassNotFoundException: hacker.chal.prot.PasswordProtector.class
[...]
Caused by: java.io.IOException: open HTTP connection failed:http://www.hacker.org/challenge/hacker/chal/prot/PasswordProtector/class.class
User avatar
adum
Posts: 392
Joined: Thu Apr 19, 2007 12:49 pm
Contact:

Post by adum »

i think i have fixed it. sorry for trouble.
megabreit
Posts: 141
Joined: Sat Jan 03, 2009 3:33 pm

Post by megabreit »

I just want to confirm: The challenge is fixed, working and solvable :D

Thanks Adum!
DaymItzJack
Posts: 106
Joined: Thu Oct 29, 2009 9:21 pm

Post by DaymItzJack »

Is it possible to solve this using urllib with &name=&password? I keep trying and I sent my username/password both times yet the 2nd attempt to submit says "no start time".

What am I doing wrong?

[Edit]:

I solved it by using a cookie jar and sending the login information myself.
User avatar
laz0r
Posts: 290
Joined: Thu Feb 04, 2010 4:18 pm
Location: Within the depths of Unix

Zip file

Post by laz0r »

The link on the applet is to a PHP page, but I can't get its contents to open as a zip file when I download the text with Delphi. I can do it with Safari and Firefox but only by saving the page and renaming the extension. Why would it give a 'corrupted file' error when I put the contents into a text file, then name it as a ZIP file (and again when I create a 'file of byte' and put the characters in one at a time)?

EDIT - nvm, I fixed it!
There is no spoon.
User avatar
laz0r
Posts: 290
Joined: Thu Feb 04, 2010 4:18 pm
Location: Within the depths of Unix

Post by laz0r »

OK, new problem (sorry!)

When I submit my solution programatically by doing an HTTP GET on the URL with my answer, will it accept the solution I got from the previous page, or the solution to be obtained from the page with the new parameter generated? I did it in 11 secs, but the page I get back says it's wrong (even though I have checked it manually with the Java class and it is right).
There is no spoon.
User avatar
CodeX
Posts: 350
Joined: Fri Oct 17, 2008 5:28 pm

Post by CodeX »

You have to include the PHPSESHID you are given or enable cookies so that the server can identify when you made the request to let you pass the test.
User avatar
laz0r
Posts: 290
Joined: Thu Feb 04, 2010 4:18 pm
Location: Within the depths of Unix

Post by laz0r »

Ah, thanks!
There is no spoon.
AMindForeverVoyaging
Forum Admin
Posts: 496
Joined: Sat May 28, 2011 9:14 am
Location: Germany

Post by AMindForeverVoyaging »

Actually, should this not be a [Web] challenge? There is:

-a Java applet
-some JavaScript code running
-a bit of PHP is also involved
-a submit form which you need to use in conjunction with username and password

If that is not web-related, then I dunno what is... ;)
cfyangel
Posts: 1
Joined: Fri Jan 20, 2012 3:44 pm

Post by cfyangel »

adum, is there something wrong with this challenge again?

I can work out the answer within the time limit, and the Java applet confirms it's correct, but when I submit the answer, the server just says "'xxx' is wrong" for whatever value I submitted.

[edit]now ,I have solved the challege in the same way before.
Redford
Posts: 41
Joined: Sat Jul 04, 2009 8:32 pm
Location: Poland
Contact:

Post by Redford »

Challenge is probably half-broken, it doesn't work if answer is negative (I've tried many times, site rejects my answer when it's < 0). Just run your solution until you get applet with positive number :)
I've sent a PM to adum about this, but without response :/
Image
User avatar
Hippo
Posts: 339
Joined: Sat Feb 01, 2014 12:05 am
Location: Praha 5

Post by Hippo »

I bet it is broken again ... I repeatedly receive answer -18...9 and if it works only with positive answers, I could try forever ...

Hmmm, now I am not receiving answer at all. Either the challenge works other way than I have expected or it is even more broken. ... Can any solver check it works as it was working? Thanks in advance.
Post Reply