查看网站信息

1、使用Chrome 探测器 ChromeSnifferPlus插件。地址:http://www.oschina.net/p/chromesnifferplus
2、直接 http://builtwith.com 在这上面进行查询
3、直接看响应头信息一般都能看到Server的类型: (http://www.oschina.net/question/253614_133470#AnchorAnswer633846) curl -I http://www.taobao.com/index.php 看到的是Tegine。 curl -I http://weibo.com/signup/signup.php 看到的是nginx/1.2.2。 curl -I http://www.baidu.com/index.php 看到的是BWS/1.0。 curl -I http://cache.baiducontent.com/ 看到的是Apache。 当然,你也可以使用Firefox(Firebug)和Chrome的审查元素来查看这些响应头。 开源的服务器一般都可以通过修改源代码然后编译来改变响应头中的Server信息: 修改httpd的header信息: include/ap_release.h #define AP_SERVER_BASEVENDOR "Apache Software Foundation" #define AP_SERVER_BASEPROJECT "Apache HTTP Server" #define AP_SERVER_BASEPRODUCT "Apache" #define AP_SERVER_MAJORVERSION_NUMBER 2 #define AP_SERVER_MINORVERSION_NUMBER 2 #define AP_SERVER_PATCHLEVEL_NUMBER 25 os/os2/os.h #define PLATFORM "OS/2" 隐藏版本信息(httpd): ServerSignature Off ServerTokens Prod 修改nginx的header信息: src/core/nginx.h #define NGINX_VERSION "1.4.1" #define NGINX_VER "nginx/" NGINX_VERSION 隐藏版本信息(nginx): server_tokens off;
原文地址:https://www.cnblogs.com/blogsme/p/3442707.html