- Kali Linux:An Ethical Hacker's Cookbook
- Himanshu Sharma
- 147字
- 2021-07-08 09:41:21
How to do it...
The following is the recipe for using Nmap:
- Nmap is already installed in Kali Linux. We can type the following command to start it and see all the options available:
nmap -h
The following screenshot shows the output of the preceding command:

- To perform a basic scan we use the following command:
nmap -sV -Pn x.x.x.x
The following screenshot shows the output of the preceding command:

- -Pn implies that we do not check whether the host is up or not by performing a ping request first. The -sV parameter is to list all the running services on the found open ports.
- Another flag we can use is -A, which automatically performs OS detection, version detection, script scanning, and traceroute. The command is:
nmap -A -Pn x.x.x.x
- To scan an IP range or multiple IPs, we can use this command:
nmap -A -Pn x.x.x.0/24
推薦閱讀
- iOS Game Programming Cookbook
- Learning ASP.NET Core 2.0
- 人臉識別原理及算法:動態人臉識別系統研究
- Practical Game Design
- Linux命令行與shell腳本編程大全(第4版)
- 算法訓練營:提高篇(全彩版)
- QGIS By Example
- PHP編程基礎與實踐教程
- PHP與MySQL權威指南
- IBM Cognos TM1 Developer's Certification guide
- Python網絡爬蟲實例教程(視頻講解版)
- TypeScript圖形渲染實戰:2D架構設計與實現
- 一覽眾山小:ASP.NET Web開發修行實錄
- Bitcoin Essentials
- Java面向對象程序設計教程