Question:

How can you tell if a website is done in asp or php

by Guest63786  |  earlier

0 LIKES UnLike

some website like yahoo.com you can't even tell. or google.com

but some website like www._______.com/aspx suffix edning

 Tags:

   Report

4 ANSWERS


  1. Unless you are able to view the raw source (not the source code that is output from a browser), you might not be able to, unless the code is defined in the extension of the page.

    Ex: thispage.php

    Look around at the links and see if you find any hard evidence.


  2. Why you want to know this? Any language can be used to develop a Website. Php, asp, java, even CGI + C, C++.

    Good luck,

    peng

    http://www.eptop.com

  3. Unfortunately, the only information you can get on a page is whatever the host decides to tell you.  Without going into the technical details, the suffix (like .php, .aspx, .pl, .html, etc) aren't guaranteed to mean anything.  Most people don't mess around with those, so they are accurate enough.

    If a site does not have that (such as yahoo.com), you can try looking at the http headers.  Most browsers are not able to do that by default though.  For firefox, you can try installing a plugin like Live HTTP Headers (https://addons.mozilla.org/en-US/firefox...  Some scripting languages will report themselves with a hidden header (php sends something like x-powered-by: PHP/5.2.1).  But again, this is optional, many people turn this off on their servers, and many languages don't report themselves at all.

    Your last option, which may or may not come with legal issues, is to attempt to exploit known security vulnerabilities with different languages.  If one of them works, odds are that is the language that is powering the site.

  4. You can look at the extensions to know which scripting language was used. E.g. aspx for ASP.NET, asp for classical ASP, php for PHP and py for Python. But modern websites usually obfuscate urls to make them search engine friendly.

    If you are able to force the website to generate a server error may be you'll see the scripting engine that runs the website as error messages normally include scripting engine information and actual file names.

    Also, sometimes some web-servers send a "X-Powered-By" header that tell you which scripting engine generated that page. Headers are not visible in browser unless you have appropriate add-ons installed. Firefox has a Web Developer add-on that allows you to view response headers.

Question Stats

Latest activity: earlier.
This question has 4 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.