- 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運(yùn)維之道(第3版)
- 每天5分鐘玩轉(zhuǎn)Kubernetes
- Red Hat Enterprise Linux 8系統(tǒng)管理實(shí)戰(zhàn)
- Ansible權(quán)威指南
- FreeRTOS實(shí)時(shí)內(nèi)核應(yīng)用指南
- WindowsServer2012Hyper-V虛擬化部署與管理指南
- Mastering KVM Virtualization
- Linux集群和自動(dòng)化運(yùn)維
- Microsoft Operations Management Suite Cookbook
- iOS 8開(kāi)發(fā)指南
- 鴻蒙操作系統(tǒng)設(shè)計(jì)原理與架構(gòu)
- Linux操作系統(tǒng)
- bash shell腳本編程經(jīng)典實(shí)例(第2版)
- Multi-Cloud for Architects
- Zabbix監(jiān)控系統(tǒng)之深度解析和實(shí)踐