Finding platform or programming language used in web application by file extension

0 votes
Hi. Is there a way to find out the programming language used to build a web page or the platform that the web application is built on based on the file extension of the web page?
Aug 22 in Cyber Security & Ethical Hacking by Tina
34 views

1 answer to this question.

0 votes

Yes. It is possible to understand the programming/language or platform by file extension. For example:

  • asp — Microsoft Active Server Pages
  • aspx — Microsoft ASP.NET
  • pl — Perl language
  • py — Python language
  • jsp — Java Server Pages
  • php — PHP language

But in most cases, you don't see the extension of the file, you only see the file name. In such cases, you can manually append the extensions and check which works. 

For example, if the web page url is www.abc.com/xyz and the page is written in php, the appending a .py extension 

www.abc.com/xyz.py

will give a page not found error. But adding .php as the extension

www.abc.com/xyz.py

will work fine. This means the the page is written in php language

answered Aug 22 by Will

Related Questions In Cyber Security & Ethical Hacking

0 votes
1 answer
0 votes
0 answers
+1 vote
1 answer

Not able to use nmap in python.

nmap module doesn’t have PortScanner attribute. The ...READ MORE

answered Jan 28 in Cyber Security & Ethical Hacking by Omkar
• 68,160 points
121 views
0 votes
1 answer