Content Type changing:
What is the difference between these two files?
http://crypthon/x/a.htm
|
http://crypthon/x/a.htm.
|
http://crypthon/x/a.gif
|
http://crypthon/x/a.gif.
|
From DOS/WIN level - there is NO difference.
From MS Personal Web Server - there IS. First one is "text/html" second is
"text/plain" (or default unknown MIME type). The second group is the same -
content-type for "dotted" "GIF" is "text/plain".
This is not my exploit. Before some time there was a message that MS Personal Web
Server crush the ASP scripts, if you "dotted" them.
The server simply do not process them!!! And you get the ASP script instead processed
page!!!
This is same for PHP!!! And for any other preprocessor!!!
This is same for Perl!!! And for any other interpretator!!!
Mysterious moved document:
And what if I make some like this:
http://crypthon/x/<any_text_here>..
|
If you do this, you will get HTTP error 302 - Document Moved. The
example above will be moved to:
Strange indexing
Ok, but what about directories?
http://crypthon/any_text_here/....<at_leaset_4_dots>/
|
You will get "Index Of /any_text_here/..../
|