如何知道服务器是否正在运行Node.js?

我想知道w3techs如何知道给定服务器何时使用Node.js.
http://w3techs.com/technologies/details/ws-nodejs/all/all

我猜它们会看一些特定的http标头.@H_403_4@

例如:X-Powered-By:Express@H_403_4@

但并非每个节点模块都会生成此类标头.@H_403_4@

您是否知道流行节点模块生成的任何其他方式或类似指纹?@H_403_4@

解决方法

正如@brad,@ jessie-a-morris,@ tknew的评论已经指出的那样,没有易于使用的方法可以在您自己的分析器中轻松重复使用.

引自w3techs自己的信息:@H_403_4@

http://w3techs.com/faq特别是章节“您的网站分析器究竟如何工作?”说明@H_403_4@

…We search for specific patterns in the web pages that identify the usage of technologies,similarly to the way a virus scanner searches for patterns in a file to identify viruses. We use a combination of regular expressions and DOM traversal for this search. We have identified several thousand indicators for technology usage. These indicators have different priorities,and based on the presence or absence of specific combinations of indicators in a specific context,we come to our conclusions.@H_403_4@

These are examples of the information used by the indicators: @H_403_4@

  • HTML elements of web pages
  • Specific HTML tags,for example the generator Meta tag
  • JavaScript code
  • CSS code
  • The URL structure of a site
  • Offsite links
  • HTTP headers,for example cookies
  • HTTP responses to specific requests,for example compression

A lot of research was necessary to build the analyzer,and we keep improving it all the time. We want it to be the best possible website analyzer…@H_403_4@

并且http://w3techs.com/disclaimer指出了这一点@H_403_4@

…In order to obtain any information from websites,we rely on the websites themselves,their owners or their webmasters to provide such information. Some websites are more open to sharing this type of information than others. Some technologies may provide more means to reveal information about their usage than others…@H_403_4@

更多“我们可能不会”,“在某些情况下”,“某些技术”,“不准确的结果”如下@H_403_4@

相关文章

现在的js代码都是这种高级点的方式语法 , 就是ts语法 ,要使用ts语法那就要先安装一下 先安装nodejs最...
nvm是node版本管理工具 为了解决node各种版本存在不兼容现象 nvm是让你在同一台机器上安装和切换不同版...
1、安装nodejs 2、在项目文件夹目录下创建一个js文件,命名server.js(自定义名称),内容如下 3、打开命令...
1.连接路径:path.join([path1][, path2][, ...]) path.join()方法可以连接任意多个路径字符串。要连接...
简介 1.aes加密简单来说,在密码学中又称Rijndael加密法,是美国联邦政府采用的一种区块加密标准。这个...
定义 Object.keys 定义:返回一个对象可枚举属性的字符串数组; Object.getOwnPropertyNames 定义:返回...