• 🏠 Accueil
  • 🧰 Générateurs
  • 📰 Blog
  • 🔎 Rechercher
  • 📧 Contact
  • 📘 Livre d'or
  • 🗞️ News
  • 💰 Soutien
  • ℹ️ Info : Le site a été modernisé pour être plus lisible et compatible avec les smartphones. N'hésitez pas à me signaler tout bug via le formulaire de contact.

    La commande nmap


    Introduction

      NMap permet d'interroger un réseau d'ordinateurs ou une machine afin de savoir qui est sur le réseau ou quels ports sont ouverts sur un serveur.

    Présentation

      NMap permet beaucoup de choses.

      Savoir quelles machines sont sur le réseau

        map -sP -PT -PI -T 3 192.168.2.*
        Renverra:
        Starting Nmap 4.62 ( http://nmap.org ) at 2008-12-29 15:11 CET
        Host 192.168.2.1 appears to be up.
        MAC Address: 00:10:4B:C3:93:42 (3com)
        Host 192.168.2.64 appears to be up.
        MAC Address: 00:08:54:09:58:64 (Netronix)
        Host 192.168.2.68 appears to be up.
        Nmap done: 256 IP addresses (3 hosts up) scanned in 5.121 seconds
            

      Savoir quels ports sont ouverts sur une machine

        nmap 192.168.2.64
        Renverra:
        Starting Nmap 4.62 ( http://nmap.org ) at 2008-12-29 15:15 CET
        Interesting ports on 192.168.2.64:
        Not shown: 1712 closed ports
        PORT   STATE SERVICE
        22/tcp open  ssh
        53/tcp open  domain
        80/tcp open  http
        MAC Address: 00:08:54:09:58:64 (Netronix)
        
        Nmap done: 1 IP address (1 host up) scanned in 1.626 seconds
            

      Déterminer quel logiciel est derrière quel port

        nmap -sV -p80 192.168.2.64
        Renverra:
        Starting Nmap 4.62 ( http://nmap.org ) at 2008-12-29 15:20 CET
        Interesting ports on 192.168.2.64:
        PORT   STATE SERVICE VERSION
        80/tcp open  http    Apache httpd 2.2.9 ((Ubuntu) PHP/5.2.6-2ubuntu4 with Suhosin-Patch)
        MAC Address: 00:08:54:09:58:64 (Netronix)
        
        Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
        Nmap done: 1 IP address (1 host up) scanned in 6.472 seconds
            

      Déterminer quel OS est installé sur une machine

        nmap -O 192.168.2.64
        Renverra
            

    NMap sur le Web

     

    Retour



    (c) 2005-2025 Jérôme DESMOULINS
    Mentions légales