Skip to content

Instantly share code, notes, and snippets.

@atistrcsn
Created October 14, 2020 09:30
Show Gist options
  • Select an option

  • Save atistrcsn/a71e3caa91e7ad0d8cb8ef54e6679d26 to your computer and use it in GitHub Desktop.

Select an option

Save atistrcsn/a71e3caa91e7ad0d8cb8ef54e6679d26 to your computer and use it in GitHub Desktop.
[nmap commands]
#find devices on network by opened port and list their IP address
nmap -p 26101 192.168.0.0/24 --open -Pn -oG - | grep "/open" | awk '{ print $2 }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment