aboutsummaryrefslogtreecommitdiff
path: root/content/blog/miscellaneous/nmap.md
blob: ee595ea0d59d503d3d8fe293e9834997eb3323ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
title: "Some nmap common usages"
date: 2021-03-19
description: nmap command examples
tags:
  - toolbox
---

## Introduction

Too often I have to go through the man page to remember the flags I need, so here is a little summary.

## The commands

- Initiate a detailed host scan : ''nmap -v -sV -O serveraddr''
- Initiate a ping scan without port scan : ''nmap -sn 10.1.0.0/24''
- The same ping scan with greppable output : ''nmap -sn -oG - 10.0.33.0/24''