tech:notes_nmap
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| tech:notes_nmap [2025/03/24 15:06] – créée - modification externe 127.0.0.1 | tech:notes_nmap [2025/04/02 09:51] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| {{tag> | {{tag> | ||
| - | = Notes nmap | + | # Notes nmap |
| + | |||
| + | Voir : | ||
| + | * https:// | ||
| + | |||
| + | Voir aussi : | ||
| + | * masscan | ||
| Scan rapide pour savoir les IPs utilisées sur le réseau | Scan rapide pour savoir les IPs utilisées sur le réseau | ||
| - | < | + | ~~~bash |
| nmap -sPn 192.168.1.0/ | nmap -sPn 192.168.1.0/ | ||
| - | </ | + | ~~~ |
| + | |||
| + | Scanner rapidement tous les ports d'une cible | ||
| + | ~~~bash | ||
| + | nmap -p0- -v -A -T4 scanme.nmap.org | ||
| + | ~~~ | ||
| Exemple | Exemple | ||
| - | < | + | ~~~bash |
| nmap acme.fr -p 75-85 -Pn --reason | nmap acme.fr -p 75-85 -Pn --reason | ||
| - | </ | + | ~~~ |
| Tester un port UDP | Tester un port UDP | ||
| - | < | + | ~~~bash |
| nmap acme.fr -p 67 -sU -Pn --reason | nmap acme.fr -p 67 -sU -Pn --reason | ||
| - | </ | + | ~~~ |
| TLS | TLS | ||
| - | < | + | ~~~bash |
| nmap --script ssl-enum-ciphers www.test.fr | nmap --script ssl-enum-ciphers www.test.fr | ||
| - | </ | + | ~~~ |
| **-Pn** Ping Not | **-Pn** Ping Not | ||
| OS Detection | OS Detection | ||
| - | < | + | ~~~bash |
| sudo nmap -O 192.168.1.10 | sudo nmap -O 192.168.1.10 | ||
| nmap -A 192.168.1.10 | nmap -A 192.168.1.10 | ||
| nmap -sV 192.168.1.10 | nmap -sV 192.168.1.10 | ||
| - | </ | + | ~~~ |
| - | === Ping TCP | + | ### Ping TCP |
| - | < | + | ~~~bash |
| nping -c 10000 --rate 4 --tcp -p 80 192.168.222.19 | nping -c 10000 --rate 4 --tcp -p 80 192.168.222.19 | ||
| nmap -sP 192.168.222.19 80 | nmap -sP 192.168.222.19 80 | ||
| - | </ | + | ~~~ |
tech/notes_nmap.1742825205.txt.gz · Dernière modification : de 127.0.0.1
