syga
September 13th, 2010, 12:58 AM
Hello all,
I'm looking for a simple script to combine netstat and nmap. I want to get the gateway and see the ip's on the network. I can do them seperatly, but looking for a simple way to do them together.
For example:
netstat -nr <to get gateway>
nmap -sP <gateway/24>
Thanks
I'm looking for a simple script to combine netstat and nmap. I want to get the gateway and see the ip's on the network. I can do them seperatly, but looking for a simple way to do them together.
For example:
netstat -nr <to get gateway>
nmap -sP <gateway/24>
Thanks