- 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
推薦閱讀
- 計算機網絡
- The Complete Rust Programming Reference Guide
- TypeScript入門與實戰
- Boost C++ Application Development Cookbook(Second Edition)
- Mastering C# Concurrency
- C++ 從入門到項目實踐(超值版)
- Learning Three.js:The JavaScript 3D Library for WebGL
- Mastering JavaScript Design Patterns(Second Edition)
- Python Data Analysis Cookbook
- PHP 7+MySQL 8動態網站開發從入門到精通(視頻教學版)
- OpenResty完全開發指南:構建百萬級別并發的Web應用
- Android應用開發實戰
- Oracle實用教程
- 監控的藝術:云原生時代的監控框架
- JavaScript編程精解(原書第2版)