Search code examples
javascriptphpasp.netdomserver-side

How to get the fully url from a dynamic website


Consider a dynamic website running an application, where you can see the URL from your browser as:

www.example.com/game

Now the /game is probably a folder? And how can i see the actual path to the application? Can't I see the server side scripting language, such as:

www.example.com/game/robobo.php or

www.example.com/game/robobo.aspx or something similar?

Now, I know you can guess some of these (typically with the "index" name), however there may be many subfolders.


Solution

  • Now the /game is probably a folder?

    It is part of the URL. That's all you can know about it.

    And how can i see the actual path to the application?

    You cannot.

    How the URL maps on to the server's file system (or even if it maps on the file system at all) is not information that the webserver will expose.

    Can't I see the server side scripting language

    Not really.

    There might be fingerprints in the HTTP response headers that could clue you in, or HTML returned in the response body might include fingerprints from a particular CMS which would imply a programming language, but there is nothing certain.