Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'looks like you've been pwn'ed!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
looks like you've been pwn'ed!
Authored by: craigw on Apr 28, '07 04:06:11PM
Just kidding. I put the two in a shell script like this:

#!/bin/sh
/usr/sbin/lsof -nP | grep TCP
/usr/sbin/lsof -nP | grep UDP
And I made it executable by owner, with owner root. That will remind me to run it with sudo, for more complete results.
For a few records to compare, you could put something like that into a daily or hourly cron job & direct the output into a log file.

[ Reply to This | # ]