- 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
推薦閱讀
- Getting Started with oVirt 3.3
- Linux操作系統應用編程
- 嵌入式操作系統(Linux篇)(微課版)
- RESS Essentials
- Java EE 8 Design Patterns and Best Practices
- Linux自動化運維:Shell與Ansible(微課版)
- 計算機系統的自主設計
- Linux設備驅動開發
- Advanced Infrastructure Penetration Testing
- Hadoop Real-World Solutions Cookbook
- Multi-Cloud for Architects
- VMware vSphere 5.1 Cookbook
- Learn Quantum Computing with Python and IBM Quantum Experience
- Learning IBM Watson Analytics
- 電腦辦公(Windows10+Office2016)從新手到高手