60

tomcat修改banner,隐藏版本号-运维笔录 美玲-51CTO博客

 6 years ago
source link: http://blog.51cto.com/meiling/2069452
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
为了避免黑客针对某些版本进行攻击,因此我们需要隐藏或者伪装Tomcat的版本信息。针对该信息的显示是由一个jar包控制的,该jar包存放在Tomcat安装目录下的lib目录下,名称为catalina.jar1、两种方式,第一种是修改catalina.jar文件进入tomcat的lib目录找到catalina.jar文件unzipcatalina.jar之后会多出两个文件夹进入org/apache/

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK