One Minute man challenge
One Minute man challenge
really have no idea where to start.hope someone can give me the faintest idea on hot to start solving this challenge.
Thanks
Thanks
Re: One Minute man challenge
The idea of the challenge as i understand it, is that the answer is provided at the link only at a particular time during the day. Example: only if its 12:34pm will it tell you the answer.kunik wrote:really have no idea where to start.hope someone can give me the faintest idea on hot to start solving this challenge.
Thanks
-
- Posts: 15
- Joined: Sun Sep 14, 2008 4:49 pm
-
- Posts: 15
- Joined: Sun Sep 14, 2008 4:49 pm
You can do this kind of thing easily in Python - "import urllib" and play with it. It's documented in the usual place. Or use urllib2, which is more capable, but poorly documented - search for "urllib2 the missing manual".
An advantage of shell is that the various utilities save files to disk automatically, so you don't have to bother with that. But an advantage of Python is that it's easy to compare the results you get and only save the one that doesn't match the failure pattern.
Getting better at scripting these kinds of things is surely the whole point of being here in the first place. Actually, being prompted to figure out how to fetch pages and preserve cookies really came in handy at work, where I needed to automate the process of submitting 10,000 entries into the development PS3 scoreboards, to test a bug in our game. That involved logging into one server, keeping all the cookies, making a selection on a second server, and navigating through the right pages on a third server in order to keep the session cookies valid. Ick.
I wonder how much load these challenges put on the server, with everybody making scripts to repeatedly send requests at it.
An advantage of shell is that the various utilities save files to disk automatically, so you don't have to bother with that. But an advantage of Python is that it's easy to compare the results you get and only save the one that doesn't match the failure pattern.
Getting better at scripting these kinds of things is surely the whole point of being here in the first place. Actually, being prompted to figure out how to fetch pages and preserve cookies really came in handy at work, where I needed to automate the process of submitting 10,000 entries into the development PS3 scoreboards, to test a bug in our game. That involved logging into one server, keeping all the cookies, making a selection on a second server, and navigating through the right pages on a third server in order to keep the session cookies valid. Ick.
I wonder how much load these challenges put on the server, with everybody making scripts to repeatedly send requests at it.
You can compare the results you get in a shell just as easily as python.gfoot wrote: An advantage of shell is that the various utilities save files to disk automatically, so you don't have to bother with that. But an advantage of Python is that it's easy to compare the results you get and only save the one that doesn't match the failure pattern.
See my solution.
Heh, I had to deal with stuff like that. I think there's a perl module to do that.gfoot wrote:Getting better at scripting these kinds of things is surely the whole point of being here in the first place. Actually, being prompted to figure out how to fetch pages and preserve cookies really came in handy at work, where I needed to automate the process of submitting 10,000 entries into the development PS3 scoreboards, to test a bug in our game. That involved logging into one server, keeping all the cookies, making a selection on a second server, and navigating through the right pages on a third server in order to keep the session cookies valid. Ick.
For this challenge, at least, once a minute shouldn't be too bad.gfoot wrote:I wonder how much load these challenges put on the server, with everybody making scripts to repeatedly send requests at it.
client or server time
i wonder if it's client or server time that is tested?
If it were client time then you could spoof the packets ...
Duh me! Can't you just brute the answer box? You have to get the cookies working first of course!
If it were client time then you could spoof the packets ...
Duh me! Can't you just brute the answer box? You have to get the cookies working first of course!
Re: client or server time
Normally, HTTP doesn't expect that the client sends a "Date" header with the request. So, I don't think the server cares about one, if given.pbhj wrote:If it were client time then you could spoof the packets ...
Anyway, I solved it and asked myself afterwards if I missed any hint on what time the oracle is answering.