服务器扫描工具nikto查看http-method

1. download perl
command :sudo apt-get install perl

2. download nikto
link: https://cirt.net/nikto/nikto-2.1.4.tar.gz
decompress: tar -zxvf nikto-2.1.4.tar.gz

3. go to the relevant dir
basic command:
perl nikto.pl -H (see help)
perl nikto.pl -host 172.16.4.21 -p 8080

this tool is found today, in order to check if the http-method trace is turned off or not on glassfish2.1.1, it is very wired that you cannot control trace method by admin console, but in glassfish3.1 it has, I think maybe this in a bug already repaired by glassfish team.
so in glassfish2, likely can do like this:

1. write 
<property name="traceEnabled" value="false"/> between <http-service> </http-service> in domain.xml under
glassfish/2.1.1/domains/
domain1/config  to turn off the trace method.

2. using nikto tool to test if the trace method works or not, the command is:
perl nikto.pl -host 172.16.4.21:8080
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值