码迷,mamicode.com
首页 > 其他好文 > 详细

nc 显示服务器开放的端口

时间:2016-12-05 01:54:50      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:服务器   ftps   style   span   connect   https   开放   color   pre   

 

# nc -z -w 2 xxxx.com 1-1000
Connection to xxxx.com 21 port [tcp/ftp] succeeded!
Connection to xxxx.com port [tcp/http] succeeded!
Connection toxxxx.com port [tcp/epmap] succeeded!
Connection to xxxx.com139 port [tcp/netbios-ssn] succeeded!
Connection to xxxx.com 443 port [tcp/https] succeeded!
Connection toxxxx.com 445 port [tcp/microsoft-ds] succeeded!
Connection to xxxx.comc 990 port [tcp/ftps] succeeded!

 

nc 显示服务器开放的端口

标签:服务器   ftps   style   span   connect   https   开放   color   pre   

原文地址:http://www.cnblogs.com/bass6/p/6132360.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!