- Kali Linux:An Ethical Hacker's Cookbook(Second Edition)
- Himanshu Sharma
- 154字
- 2021-06-24 15:59:22
How to do it...
Let's perform the following steps:
- Nmap is already installed in Kali Linux. We can type the following command to start it and see all the options that are available:
nmap -h
The following screenshot shows the output of the preceding command:

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

Here, -Pn implies that we do not check whether the host is up or not by performing a ping request first; -sV is used to list all the running services on the open ports that we found.
- Another flag we can use is -A. This automatically performs OS detection, version detection, script scanning, and traceroute. The command is as follows:
nmap -A -Pn x.x.x.x
- To scan an IP range or multiple IPs, we can use the following command:
nmap -A -Pn x.x.x.0/24
推薦閱讀
- Linux設備驅動開發詳解(第2版)
- UNIX操作系統設計
- Kubernetes網絡權威指南:基礎、原理與實踐
- Windows Phone 7.5 Data Cookbook
- 新手易學:系統安裝與重裝
- Extending Bootstrap
- 高性能Linux服務器構建實戰:系統安全、故障排查、自動化運維與集群架構
- OpenStack系統架構設計實戰
- Windows Vista終極技巧金典
- Linux 從入門到項目實踐(超值版)
- Ubuntu Linux操作系統實用教程
- Windows Server 2008組網技術與實訓(第3版)
- iOS 10快速開發:18天零基礎開發一個商業應用
- Office 365 User Guide
- OpenStack Essentials(Second Edition)