Skip to content

Instantly share code, notes, and snippets.

@cmwylie19
Created April 2, 2025 11:50
Show Gist options
  • Save cmwylie19/5c2961c4301382b626fda22d8f4ad292 to your computer and use it in GitHub Desktop.
Save cmwylie19/5c2961c4301382b626fda22d8f4ad292 to your computer and use it in GitHub Desktop.
find vm - nmap
nmap -p 22 192.168.6.0/24 192.168.5.0/24

# Just the IPs
nmap -p 22 --open 192.168.6.0/24 192.168.5.0/24

# Use -T4 to speed it up (aggressive timing):
nmap -p 22 --open -T4 192.168.6.0/24 192.168.5.0/24

# Or output to a grep-friendly file:
nmap -p 22 --open -oG scan.txt 192.168.6.0/24 192.168.5.0/24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment