We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06e0ab9 commit cf78247Copy full SHA for cf78247
nmap-find-hostname.sh
@@ -0,0 +1,2 @@
1
+#!/usr/bin/env bash
2
+nmap -sn $1 -oG - | awk '$4=="Status:" && $5=="Up" {print $2, $3}'
0 commit comments