Page 2 of 2

Posted: Sun Apr 19, 2009 7:39 am
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

Posted: Fri Jun 05, 2009 12:19 am
by adum
i think i have fixed it. sorry for trouble.

Posted: Tue Jun 09, 2009 10:44 pm
by megabreit
I just want to confirm: The challenge is fixed, working and solvable :D

Thanks Adum!

Posted: Wed Dec 02, 2009 1:21 am
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.

Zip file

Posted: Sat May 01, 2010 10:53 am
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!

Posted: Sat May 01, 2010 6:32 pm
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).

Posted: Sat May 01, 2010 6:45 pm
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.

Posted: Sat May 01, 2010 7:12 pm
by laz0r
Ah, thanks!

Posted: Wed Sep 14, 2011 8:20 am
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... ;)

Posted: Fri Feb 17, 2012 6:23 am
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.

Posted: Mon Nov 19, 2012 9:17 pm
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 :/

Posted: Sat Apr 12, 2014 10:16 am
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.