How can I find out which technologies were used to generate a website?

2

How can I find out which technologies were used to generate a website? Is it possible?

E.g. PHP, JSP, JSF, ASP.NET, Ruby, Python etc.

gaffcz

Posted 2011-07-24T19:55:04.103

Reputation: 233

Thank you, I had the same opinion, but I wasn't sure :) So I'm without chance to find out which technologies are used for writing stackoverflow.com for example.. Make the answer and I'll accept it – gaffcz – 2011-07-24T20:04:28.717

Some generators put meta information in the header. You might get lucky and detect some of them. Also, some tools emit HTML in a consistent pattern, or add template comments, and you might use some heuristics to detect that. – Keith – 2011-07-24T20:13:45.480

Yeah, for the most part, this is impossible. . . – surfasb – 2011-07-24T20:37:41.440

Answers

1

Unless the URL reveals it (e.g. http://something/blah.php), you can't. Even the URL is not reliable, as you theoretically could configure a web server to use the .php extension for Java Server Pages. It's weird, but it's possible. The same goes for all possible combinations.

As all of those are server side languages, the only thing you can see as the client is HTML. HTML by itself does not reveal a lot.

You might be able to find out more by inspecting the HTML markup and looking for some keywords. For example, some web frameworks or templating engines leave traces and special patterns or keywords that might give you a hint. It's very specific though and I don't know of any tool that would to this kind of task (except for Google, that is).

slhck

Posted 2011-07-24T19:55:04.103

Reputation: 182 472

2

  • There are online tools for determining which web servers are used on a given site:

http://uptime.netcraft.com/up/graph?site=superuser.com

But these are highly unreliable, because the information a server reveals can be easily manipulated or hidden by the site owner (which might lead to the remark "unknown" as the server type in this particular chart).

  • Another option is to call an non-existing page on a site. The error message (404) might also reveal the OS and the server software:

http://lexin2.nada.kth.se/test ("test" does not exist) reveals that they are using Tomcat with Apache. In a similar way, you will see messages from Microsoft IIS on Windows, PHP on Linux, etc.

Most sites replace though the standard 404 message with a more informative one, like this site's: https://superuser.com/test So there's not much to gather there.

TFM

Posted 2011-07-24T19:55:04.103

Reputation: 4 243