Windows??Port????
???????????? ???????[ 2016/2/18 10:35:59 ] ??????????????
?????????????????????????????????????????port????????????netstat?????? netstat?????????port??蹤??????????????????????????Щport????????????????????????
????Netstat???????
????Netstat??????????????Э???????????? TCP/IP ?????????
???????????????£?
????NETSTAT [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [interval]
???????????????????????壺
????-a????????????????port??
????-b??????????????????????????port???????????????Щ???????????????????ж???????????????????Щ????°????????????????port????????б????????????????£?????????????????? [] ?С????????????????????????? TCP/IP ?????????????????????????????????????????????
????-e??????????????????
?????????????? -s????????á?
????-n???????????????????port???
????-o??????????????????????????? ID??
????-p proto????? proto ?????Э????????proto ?????????Э????е????: TCP??UDP??TCPv6 ??UDPv6??
?????????? -s ????????????????Э??????????proto ?????????Э????е????: IP??IPv6??ICMP??ICMPv6??TCP??TCPv6??UDP ?? UDPv6??
????-r?????·????
????-s ???????Э??????????
???????????? IP??IPv6??ICMP??ICMPv6??TCP??TCPv6??UDP ?? UDPv6 ??????????-p ???????????????????????
????-v???? -b ??????????????????????????????????????????????port???????
????interval??????????????????????????????????????(?????)??
?????? CTRL+C ??????????????????
????????????netstat ?????????????(??????????)??
???????Netstat??????????????????port
??????????????????壬??????
????C:/WINDOWS>netstat -an |find /i "listening"
???????????????????????浽???????????????????????????????????????????????????“>”??“>>”??
????netstat -an |find /i "listening" > c:/openports.txt
?????????????“listening”???“established”????????????????????Щport????
????C:/WINDOWS>netstat -an |find /i "established"
?????????Windows XP??Windows Server2003?У????????????????????????????????н????ID?б?????????????“NETSTAT -O”??
????C:/WINDOWS>netstat -ao |find /i "listening"
????TCP pro1:epmap pro1.dpetri.net:0 LISTENING 860
????TCP pro1:microsoft-ds pro1.dpetri.net:0 LISTENING 4
????TCP pro1:1025 pro1.dpetri.net:0 LISTENING 908
????TCP pro1:1084 pro1.dpetri.net:0 LISTENING 596
????TCP pro1:2094 pro1.dpetri.net:0 LISTENING 596
????TCP pro1:3389 pro1.dpetri.net:0 LISTENING 908
????TCP pro1:5000 pro1.dpetri.net:0 LISTENING 1068
?????????????http://www.petri.co.il/download_free_reskit_tools.htm.
???????PULIST?????PID?????????????
???????磬????????????????TCPport80????????????IP???????????????????????д?Internet Explorer????????????????塣?????????????????????
?????????????????????????μ?????
????C:/WINDOWS>netstat -no
????Active Connections
????Proto Local Address Foreign Address State PID
????TCP 192.168.0.100:2496 212.179.4.7:80 ESTABLISHED 1536
?????????????“FIND”?????“PULIST”????
????C:/WINDOWS>pulist |find /i "1536"
????Process PID User
????LUCOMS~1.EXE 1536 DPETRI/danielp
????????????? DANIELP??????? LUCOMS~1.EXE??????Symantec Live Update?????
??????????????????????????????????port???????????????μ?????
????C:/WINDOWS>netstat -a
??????Windows XP??2003?У???????????-o?????
????C:/WINDOWS>netstat -ao
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11