User Tools

Site Tools


ubuntu:nmap:scan_network_excluding_remote_hosts

Ubuntu - nmap - Scan Network Excluding Remote Hosts

Exclude some hosts while performing a full network scan or when you are scanning with wildcards with the –exclude option.

nmap 192.168.1.100-200 --exclude 192.168.1.141

result:

Starting Nmap 6.40 ( http://nmap.org ) at 2016-07-08 00:01 BST
Nmap scan report for 192.168.1.100
Host is up (0.049s latency).
Not shown: 989 closed ports
PORT     STATE SERVICE
80/tcp   open  http
139/tcp  open  netbios-ssn
443/tcp  open  https
445/tcp  open  microsoft-ds
515/tcp  open  printer
631/tcp  open  ipp
6839/tcp open  unknown
7435/tcp open  unknown
8080/tcp open  http-proxy
9100/tcp open  jetdirect
9220/tcp open  unknown
 
Nmap scan report for android-166a0df867e23819 (192.168.1.157)
Host is up (0.040s latency).
All 1000 scanned ports on android-166a0df867e23819 (192.168.1.157) are closed
 
Nmap scan report for RP-AC52 (192.168.1.169)
Host is up (0.011s latency).
Not shown: 998 closed ports
PORT   STATE SERVICE
53/tcp open  domain
80/tcp open  http
 
Nmap done: 100 IP addresses (3 hosts up) scanned in 14.57 seconds
ubuntu/nmap/scan_network_excluding_remote_hosts.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki