For example: How to determine which language the website uses to develop the backend?
伊谢尔伦2017-05-16 17:05:58
Thank you @ Elite Prince for mentioning my project: https://github.com/justjavac/ChromeSnifferPlus If you are interested, you can check the source code directly.
Many websites will add framework information in meta, such as Joomla, XOOPS, and MediaWiki will add generator; phpBB will add copyright; Avactis will add author. Through these, you can detect the website building system used by the website and know the language used.
Same as above, detect the website building system used by the website to know the language used.
The language used in the background can be detected through x-powered-by of header information
According to the cookie that passes the session id, for example, the session ID used by PHP is PHPSESSID, and the session ID used by JSP is JSESSION.
You can also see a lot of information through the error page. For example, the ticket booking website is developed in Java.
Including the structure of url, the structure of static files, etc. If a development framework or CMS system is used, these directory structures have certain rules.
You can use regular expressions to match HTML codes, find out the copyright and powered by, and then learn the language used.
Get the server information through 404 or header information, and then learn the programming language, such as nodejs, tomcat, etc.
PHP中文网2017-05-16 17:05:58
This is a rather complicated question.
For URLs with suffixes, it couldn’t be easier. .php is naturally developed by php, asp, aspx are the same, and of course there are .action .do and so on, which are generally java
The differences between these different development frameworks are quite large. For example, rails will compress js into something similar like application-7fds7afds98afdsa8.js. Frameworks such as django also have their own naming rules.
There are some relatively second-rate pages. If you mess around with the page and deliberately make wrong submissions, an error page may pop up, which may have what you want (but there are websites with this situation, so it is of reference value. Not big either)
Look at the word "powerd by" in the footer. If the website is built using current tools, there will be words such as "powerd by wordpress", "powered by django" and so on.
If the website has a recruitment section, you can guess what kind of developers they are recruiting.
phpcn_u15822017-05-16 17:05:58
Sometimes there is an item X-Powered-By in the Response Header, and you can see the development language.
世界只因有你2017-05-16 17:05:58
Theoretically, it is impossible to judge the backend development language 100% correctly through the interaction between the client and the server backend. Because the language is Turing equivalent, a different language can also develop a backend with the same performance. Come out. You can ask the relevant people in this background about the language they use.
For network frameworks in some languages, you can also capture the HTTP data stream and determine what framework is used based on the HTTP header field server, and then determine what language is used.
滿天的星座2017-05-16 17:05:58
Add one more.
Sometimes you can tell what language their products are developed in by looking at what engineers their company is recruiting.
PHP中文网2017-05-16 17:05:58
One thing to mention, you can look at the suffix such as xxx.php, then it may be php, but you are not sure, this can be changed
巴扎黑2017-05-16 17:05:58
It is difficult to get all the results accurately. Whether it is the URL or anything else, it can be changed. I just want to make a rough guess based on experience. Of course, no processing has been done. For example, xx.php can be known. .