Author |
Message |
rmplpmpl
Joined: 26 Oct 2008 Posts: 113 Location: Germany |
|
Your Turn, Part Two |
|
I am keeping getting errors on this one.
I tried two different approaches (cookies and server log), which both work for me, but it still gives me 'error' is incorrect.
Is there something I did not get about this challenge or is it broken someway?
|
|
Wed Nov 19, 2008 8:22 pm |
|
 |
Mütze
Joined: 26 Oct 2008 Posts: 23
|
|
|
|
This challenge isn't broken. I've just solved it.
|
|
Wed Nov 19, 2008 10:16 pm |
|
 |
gfoot
Joined: 05 Sep 2007 Posts: 269 Location: Brighton, UK |
|
|
|
I doubt it supports cookies - you don't need to do any session-tracking, or anything like that. Just maintain global server-side state - so when the site sets an entry, then queries it, you can return what it set it to before.
If you like, post or pm me your url and I might be able to give an example sequence of requests that doesn't give the right result.
|
|
Wed Nov 19, 2008 10:25 pm |
|
 |
rmplpmpl
Joined: 26 Oct 2008 Posts: 113 Location: Germany |
|
|
|
 |
 |
I doubt it supports cookies - you don't need to do any session-tracking, or anything like that. Just maintain global server-side state - so when the site sets an entry, then queries it, you can return what it set it to before.
If you like, post or pm me your url and I might be able to give an example sequence of requests that doesn't give the right result. |
OK, I misunderstood the challenge and gave replies to 'test1' only - sometimes I am just plain stupid... 
|
|
Thu Nov 20, 2008 6:41 am |
|
 |
cyberwoozle
Joined: 07 Nov 2008 Posts: 60 Location: Germany |
|
|
|
I'm a little confused: in my serverlog i miss the 'set=' call, i see only one 'get=' call. Do i misunderstand something?
[Edit:] Forget it, i think i've found my mistake ....
[Edit2:] now i think, everything is ok in my server, but still i only see one 'get' call ....
[Edit3:] ..... i think i found another error ....
[Edit4:] I give up!
The log on my webserver shows only one request:
208.97.183.12 - - [27/Feb/2009:10:21:38 +0100] "GET /?get=******/ HTTP/1.1" 200 4 "-" "-"
The browser returns:
'error' is incorrect
If i try it from my browser i see the 'set=' request before:
192.168.255.160 - - [27/Feb/2009:09:00:40 +0100] "GET /?set=****** HTTP/1.1" 200 2 "-"
192.168.255.160 - - [27/Feb/2009:09:01:12 +0100] "GET /?get=****** HTTP/1.1" 200 2 "-"
And exactly this one i miss if i try the same from hacker.org. Where is my error in reasoning?
|
|
Thu Feb 26, 2009 8:11 pm |
|
 |
bsguedes

Joined: 24 Feb 2009 Posts: 103 Location: Porto Alegre |
|
|
|
Is this challenge working? I'm trying all sort of stuff, and by hand it works, but all attempts returns 'error'.
Thanks,
Bruno.
|
|
Mon Jun 01, 2009 4:42 am |
|
 |
Zeta
Joined: 16 Apr 2009 Posts: 62
|
|
|
|
works fine for me
|
|
Mon Jun 01, 2009 6:19 am |
|
 |
nomen
Joined: 05 Mar 2009 Posts: 4
|
|
|
|
No problems here either.
|
|
Mon Jun 01, 2009 12:11 pm |
|
 |
bsguedes

Joined: 24 Feb 2009 Posts: 103 Location: Porto Alegre |
|
|
|
Thank you guys . I'll try other approaches to do this soon.
Bruno.
|
|
Mon Jun 01, 2009 1:49 pm |
|
 |
therethinker
Joined: 28 Mar 2008 Posts: 144 Location: #hacker.org on Freenode |
|
|
|
I'm having similar problems. Is this server as picky as it is in part 1? I'm using the same method as in part one, so theoretically it should suppress that magic character, but I haven't focused on it.
I'm only getting 2 get= requests, both return "no", and I'm only getting "error" as feedback 
|
|
Tue Jun 02, 2009 2:02 am |
|
 |
Zeta
Joined: 16 Apr 2009 Posts: 62
|
|
|
|
Sorry people, you seem to mess something up. There are
all in all 8 requests to fulfill to pass the test. When your log
shows fewer requests the last response was erroneous.
|
|
Tue Jun 02, 2009 3:06 pm |
|
 |
therethinker
Joined: 28 Mar 2008 Posts: 144 Location: #hacker.org on Freenode |
|
|
|
Zeta: that's what I assumed, but all I get are two requests for "...?get=foobar", both (rightfully) return "no".
|
|
Tue Jun 02, 2009 7:00 pm |
|
 |
Zeta
Joined: 16 Apr 2009 Posts: 62
|
|
|
|
 |
 |
Zeta: that's what I assumed, but all I get are two requests for "...?get=foobar", both (rightfully) return "no". |
I consistently get the same requests, so I think it's a static test suite. But for me the second request looks different...
|
|
Wed Jun 03, 2009 3:53 am |
|
 |
nighthalk
Joined: 31 Jul 2009 Posts: 41
|
|
|
|
any idea why me going to my hosted php page works correctly (i have an sql storing the escaped url before it even tries to run the other sql, which correctly logs my activity) but when i point the challenge to it it just responds error but without affecting my activity log.... anyone who already solved it want to peek at my page and see whats wrong?
(i do use javascript as an anti add script so it may be blacklisting it)
|
|
Thu Sep 17, 2009 3:21 am |
|
 |
matter
Joined: 12 Oct 2009 Posts: 11
|
|
|
|
Just a note, the script is CASE SENSITIVE for the URL you pass it. If your script is called "yourTurn.php", the Hacker.org server will convert it to lower case and request "yourturn.php". So, keep your script names in lower case.
|
|
Thu Nov 26, 2009 5:01 am |
|
 |
|