Skip to content

Instantly share code, notes, and snippets.

@phrz
Created December 18, 2017 22:27
Show Gist options
  • Select an option

  • Save phrz/761717eb966f78249eb6a78d2aec0f98 to your computer and use it in GitHub Desktop.

Select an option

Save phrz/761717eb966f78249eb6a78d2aec0f98 to your computer and use it in GitHub Desktop.
alias peers="nmap -sn 192.168.1.0/24|python3 -c $'import sys\n[print(\' \'.join(s.split(\' \')[4:]),end=\'\') for s in sys.stdin.readlines()[2::2]]'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment