Skip to content

读取host:ip格式文件,该文件是存活的主机端口,交给nmap进行指纹识别,保存结果。

Notifications You must be signed in to change notification settings

wenxi-3000/nmap-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nmap-cli

说明

读取ip:port格式文件,该文件是存活的主机端口,交给nmap进行指纹识别,保存结果。

使用方法

git clone https://github.com/ShadowFl0w/nmap-cli.git
cd nmap-cli
go build
./nmap-cli -f ./hostip.txt -o nmap.txt

输入的文件

指定输入文件,host:ip类型,

172.16.42.151:8081
172.16.42.1:8082
172.16.2.151:8081
172.16.42.121:8082
172.1.42.151:8080
172.16.42.132:8080

输出nmap的结果

PORT     STATE  SERVICE    VERSION
8080/tcp closed http-proxy
8081/tcp open   http       SimpleHTTPServer 0.6 (Python 2.7.16)
8082/tcp open   http       SimpleHTTPServer 0.6 (Python 2.7.16)

About

读取host:ip格式文件,该文件是存活的主机端口,交给nmap进行指纹识别,保存结果。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages