玩玩nmap
2016-04-04 18:32
302 查看
---恢复内容开始---
nmap用于探查网络、执行安全扫描、网络核查并且在远程机器上找出开放端口。它可以扫描在线的主机、操作系统、包过滤器和远程主机上的开放端口。
nmap命令格式:
1.使用主机名扫描:
View Code
22.tcp空扫描
原文地址:
[root@miyan ~]# nmap -v Starting Nmap 7.12 ( https://nmap.org ) at 2016-04-04 15:34 CST Read data files from: /usr/bin/../share/nmap WARNING: No targets were specified, so 0 hosts scanned. Nmap done: 0 IP addresses (0 hosts up) scanned in 0.07 seconds Raw packets sent: 0 (0B) | Rcvd: 0 (0B)
nmap用于探查网络、执行安全扫描、网络核查并且在远程机器上找出开放端口。它可以扫描在线的主机、操作系统、包过滤器和远程主机上的开放端口。
nmap命令格式:
Usage: nmap [Scan Type(s)] [Options] {target specification}
1.使用主机名扫描:
[root@miyan ~]# nmap -sS 172.18.16.203 Starting Nmap 7.12 ( https://nmap.org ) at 2016-04-04 18:27 CST Nmap scan report for 172.18.16.203 Host is up (0.0062s latency). Not shown: 994 filtered ports PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 111/tcp open rpcbind 443/tcp open https 5120/tcp open unknown 50000/tcp open ibm-db2 Nmap done: 1 IP address (1 host up) scanned in 4.88 seconds
View Code
22.tcp空扫描
[root@miyan ~]# nmap -sN 172.18.16.203 Starting Nmap 7.12 ( https://nmap.org ) at 2016-04-04 18:30 CST Nmap scan report for 172.18.16.203 Host is up (0.0013s latency). All 1000 scanned ports on 172.18.16.203 are open|filtered Nmap done: 1 IP address (1 host up) scanned in 21.15 seconds
原文地址:
https://linux.cn/article-2561-3.html
相关文章推荐
- 一站式学习Wireshark(七):Statistics统计工具功能详解与应用
- Uvalive6885(最短路)
- putchar()
- return用法
- LA 3266&HDU 1052 Tian Ji -- The Horse Racing(田忌赛马,贪心)
- linux 用户及组的管理
- OpenGL之坐标转换(好文-清晰版)
- 初识asynctask和handler
- 抽象类与接口之间的关系
- sizeof用法汇总
- LeetCode之5_Longest Palindromic Substring
- 九九乘法表
- 接口与抽象类典型应用例子
- string用法
- 如何使用s:iterator循环每4条数据换一次行的代码
- 4.2日学习记录
- 【Android开发经验】使用Ant批量打包Android应用全然指南
- C语言字符串处理函数
- Linux主机规划与磁盘分区
- HDU 1232畅通工程