hacker.org Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Your Turn, Part Two
Goto page 1, 2, 3, 4  Next
 
Reply to topic    hacker.org Forum Index » Challenges View previous topic
View next topic
Your Turn, Part Two
Author Message
rmplpmpl



Joined: 26 Oct 2008
Posts: 113
Location: Germany

Post Your Turn, Part Two Reply with quote
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 View user's profile Send private message
Mütze



Joined: 26 Oct 2008
Posts: 23

Post Reply with quote
This challenge isn't broken. I've just solved it.
Wed Nov 19, 2008 10:16 pm View user's profile Send private message
gfoot



Joined: 05 Sep 2007
Posts: 269
Location: Brighton, UK

Post Reply with quote
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 View user's profile Send private message
rmplpmpl



Joined: 26 Oct 2008
Posts: 113
Location: Germany

Post Reply with quote
gfoot wrote:
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... Embarassed
Thu Nov 20, 2008 6:41 am View user's profile Send private message
cyberwoozle



Joined: 07 Nov 2008
Posts: 60
Location: Germany

Post Reply with quote
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 .... Crying or Very sad


[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 View user's profile Send private message
bsguedes



Joined: 24 Feb 2009
Posts: 103
Location: Porto Alegre

Post Reply with quote
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 View user's profile Send private message
Zeta



Joined: 16 Apr 2009
Posts: 62

Post Reply with quote
works fine for me
Mon Jun 01, 2009 6:19 am View user's profile Send private message
nomen



Joined: 05 Mar 2009
Posts: 4

Post Reply with quote
No problems here either.
Mon Jun 01, 2009 12:11 pm View user's profile Send private message
bsguedes



Joined: 24 Feb 2009
Posts: 103
Location: Porto Alegre

Post Reply with quote
Thank you guys Smile. I'll try other approaches to do this soon.

Bruno.
Mon Jun 01, 2009 1:49 pm View user's profile Send private message
therethinker



Joined: 28 Mar 2008
Posts: 144
Location: #hacker.org on Freenode

Post Reply with quote
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 Sad
Tue Jun 02, 2009 2:02 am View user's profile Send private message AIM Address
Zeta



Joined: 16 Apr 2009
Posts: 62

Post Reply with quote
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 View user's profile Send private message
therethinker



Joined: 28 Mar 2008
Posts: 144
Location: #hacker.org on Freenode

Post Reply with quote
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 View user's profile Send private message AIM Address
Zeta



Joined: 16 Apr 2009
Posts: 62

Post Reply with quote
therethinker wrote:
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 View user's profile Send private message
nighthalk



Joined: 31 Jul 2009
Posts: 41

Post Reply with quote
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 View user's profile Send private message
matter



Joined: 12 Oct 2009
Posts: 11

Post Reply with quote
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 View user's profile Send private message
Display posts from previous:    
Reply to topic    hacker.org Forum Index » Challenges All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.