Difference between revisions of "DOS IP with local port"

From James Dooley's Wiki
Jump to: navigation, search
(Created page with "==Overview== Gets current netstat connections and shows each IP address with local port connection. ==Script== <code>[bash,n]netstat -ntu | awk '{print $5 $4}' | cut -d: -f1,3...")
(No difference)

Revision as of 18:38, 8 April 2011

Overview

Gets current netstat connections and shows each IP address with local port connection.

Script

[bash,n]netstat -ntu | awk '{print $5 $4}' | cut -d: -f1,3 | sort | uniq -c | grep -v o | sort -n

What to change