nmap学习笔记(一)

一、安装nmap
1、linux yum 安装 yum install nmap -y
2、源码安装方法:
下载压缩包,解压;
./configure
make&&make install
二、nmap scan参数总结
1、nmap -sC 使用默认NSE脚本分类进行扫描
2、nmap -sV 服务检测
3、nmap -o 操作系统检测

三、NSE脚本选项
1、nmap –script 脚本名称 +target ,例如: nmap –script http-title
2、指定端口扫描目标 nmap -p80 –script http-title +target
3、多个脚本扫描目标 nmap –script http-title ,http-methods + target
4、指定脚本分类扫描目标 nmap –script exploit +target
5、指定多个脚本分类扫描目标 namp –script discovery, exploit +target
6、执行自己开发nse脚本扫描目标 nmap –script= /path/script.nse
7、执行多个nse脚本扫描目标 nmap –script /path/script1.nse,/path/script2.nse + target
8、执行目录下所有脚本扫描目标 namp –script /path/script + target

四、高级脚本表达式选项
1、 非exploit 扫描 nmap -sV –script “not exploit” +target
2、多个脚本分类排除扫描目标 namp –script “not(dos or exploit)” -sV +target

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值