cmd cmd.exe command line win

tips & tricks
Post Reply
dev
Site Admin
Posts: 60
Joined: 09 Mar 2021, 17:52

cmd cmd.exe command line win

Post by dev »

Code: Select all

netstat –nao
netstat -ao |find /i "listening"

Show all TCP and UDP port usage and process ID:
netstat –nao

Look for usage of port [port] every [N] seconds
netstat –nao [N] | find [port]

Dump detailed protocol statistics
netstat –s –p [tcp|udp|ip|icmp]

Code: Select all

netsh winsock reset
ipconfig /release
netsh int ip reset
ipconfig /flushdns
ipconfig /renew


https://www.sans.org/security-resources ... eet_v1.pdf
http://www.cs.columbia.edu/~sedwards/cl ... tsheet.pdf
Post Reply