Created
October 15, 2014 11:25
-
-
Save tmslnz/1fdaa04e15a25bb33712 to your computer and use it in GitHub Desktop.
List all network devices on a range
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use -n -sn to tell Nmap to ignore hostnames | |
nmap -sn 192.168.1.0/24 -oG - | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment