搜索找到 2 个匹配
- 周二 10月 03, 2017 3:26 pm
- 版面: 技术文献
- 主题: PowerShell(内置的端口扫描器)使用教程
- 回复总数: 0
- 阅读次数: 27
PowerShell(内置的端口扫描器)使用教程
如何使用PowerShell实现基本的端口扫描功能: 本文中用到的PowerShell命令 PowerShell端口扫描器:针对单个IP的多个端口的扫描 1 1..1024 | % {echo ((new-object Net.Sockets.TcpClient).Connect("10.0.0.100",$_)) "Port $_ is open!"} 2>$null Test-Netconnection 针对某IP段中单个端口的扫描 1 foreach ($ip in 1..20) {Test-NetConnection -Port 80 -InformationLevel "Detail...