nmap 扫描主机开放的端口
- Linux
- 2017-10-13
- 175热度
- 0评论
一般是黑客/网络安全工程师用的。可以检查某项服务是否正常启动、可正常访问。
可用 homebrew 安装。
使用方法:nmap {ip/域名}
例如:
➜ ~ nmap baimoz.me
Starting Nmap 7.60 ( https://nmap.org ) at 2017-10-13 16:32 CST
Nmap scan report for baimoz.me (106.187.99.61)
Host is up (0.11s latency).
Other addresses for baimoz.me (not scanned):
rDNS record for 106.187.99.61: li476-61.members.linode.com
Not shown: 986 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
80/tcp open http
135/tcp filtered msrpc
139/tcp filtered netbios-ssn
443/tcp open https
445/tcp filtered microsoft-ds
593/tcp filtered http-rpc-epmap
873/tcp open rsync
1090/tcp open ff-fms
3306/tcp open mysql
4444/tcp filtered krb524
8080/tcp open http-proxy
8888/tcp open sun-answerbook
Nmap done: 1 IP address (1 host up) scanned in 9.39 seconds
这里只记录了最基本的用法,更多信息到网上找找看。