Jump to content
Sign in to follow this  

Simple but useful command

Recommended Posts


To get a list of live host and save it on a file

fping -ag <target> 2>/dev/null 1>live_host_file

To get the same list with nmap (detect even ping disabled host)

nmap -sn <target> | grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b" > live_host_file


  • Like 1

Share this post

Link to post

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
Sign in to follow this