[关闭]
@websec007 2017-10-23T12:59:48.000000Z 字数 650 阅读 1315

Tocat 安全加固汇总

未分类


修改 server主机头

1. server.xml 文件配置

  1. /apache-tomcat-xxxx/conf/server.xml
  1. <Connector port="8080" protocol="HTTP/1.1"
  2. connectionTimeout="20000"
  3. redirectPort="8443" server='Response_Server_tag' />

2. 实例操作

  1. C:\Users\admin>curl -I http://127.0.0.1:8080
  2. HTTP/1.1 403 Forbidden
  3. Pragma: No-cache
  4. Cache-Control: no-cache
  5. Expires: Thu, 01 Jan 1970 08:00:00 CST
  6. Content-Type: text/html;charset=utf-8
  7. Content-Length: 1108
  8. Date: Mon, 23 Oct 2017 04:47:16 GMT
  9. Server: Response_Server_Tag

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注