Skip to content

Instantly share code, notes, and snippets.

@Ravaan21
Created June 2, 2021 18:34
Show Gist options
  • Save Ravaan21/1d310bc72ddb8c9654e21698663e6b50 to your computer and use it in GitHub Desktop.
Save Ravaan21/1d310bc72ddb8c9654e21698663e6b50 to your computer and use it in GitHub Desktop.
Fast Scan for Dead host
nmap -T5 -iL Dutchhost.txt > hostdead.txt | cat hostdead.txt | grep "Failed" | cut -d " " -f 4 | tr -d '"' | sed 's/.$//'
replace Dutchhosts.txt with your own list of hosts
@Ravaan21
Copy link
Author

Ravaan21 commented Jun 2, 2021

add a > deadhost.txt for getting a txt file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment