[Plug-security] nmap

Wes Bateman plug-security@lists.PLUG.phoenix.az.us
Tue, 10 Sep 2002 11:43:48 -0500


> netstat -an will show you open ports and active connections.

Yeah, and if you add a 'p' like so:

netstat -nap

you'll also get the process that owns each connection/listening port.
That can be handy.  lsof -n can be used similarly, but netstat is more
likely to be installed on whatever system you encounter.

Wes

-- 
Wes Bateman, GCIA
ManISec Corporation - "Managed Internet Security Services"
http://www.manisec.com
P.O. Box 851053
Richardson, TX  75085-1053
+1 (469) 766-4720
wes@manisec.com