Hi folks,
well solving that was not that hard, my only problem was that I interpreted the numeric value the wrong way at first...
Anyway, my question is: what software do you use for setting/manipulating HTTP Request headers? I guess there are dozens of good Firefox plugins out there, and I solved that "by hand" which telnet so far
I thought of wget, but didn't find an option to set header fields (except some other stuff as user agent string), and after getting the HTTP Response it revealed that it maybe hadn't been a very good idea anyway:
There was some interesting stuff in the error message you get when you don't specify the Range: header, concerning Internet Explorer.
I used telnet, but wrote the query using Python. I almost bothered to find out how to supply these headers to the urllib2 module, but remembered how poor its documentation is, and for something like this it just seems really simple to do it via telnet.
It would be more interesting if the challenge involved querying various different parts of the file, and programmatically deciding which bit to fetch next. Maybe a bit like the Cavern Master challenges, or maybe a huge maze where you start in the middle and have to find your way out.
wget has a header option: --header which works but wget can't handle 206 partitial content that way.
i ended up using netcat and headers in a text file.
This was my first challenge i got more than a hint for and to be honest i'm not proud of it.
What i don't understand (and hopefully someone can explain to me) is: I tried to enter the "Range:bytes"-specifier into the URL:
wolfram|alpha for the number,
FF + Modify headers + Range:bytes=999999999999999999999999999999999999999999999999999-100000000000000000000000000000000000000000000000098
That would indeed not be the only time someone has asked for help on stackoverflow or on some other website,
and as far as I know there is no law or rule which forbids to do that.