Windows和Linux常用TCP端口探测工具总结

简介: Windows和Linux常用TCP端口探测工具总结

Windows和Linux常用TCP端口探测工具总结


一、Windows常用TCP端口探测工具


1、TCPing


https://www.elifulkerson.com/projects/tcping.php

640.png


640.png


可以下载64位TCPing,并拷贝到C:\Windows\System32目录下


TCPing用法


tcping $host $port

640.png

举例


tcping64 www.qq.com 443


-t 连续ping 直到Ctr+C停止

640.png


2、PSping


PsPing 实现 Ping 功能、TCP ping、延迟和带宽度量


https://docs.microsoft.com/zh-cn/sysinternals/downloads/psping
https://download.sysinternals.com/files/PSTools.zip

640.png

640.png



下载64位psping64.exe到C:\Windows\System32目录下


psping64 --help查看用法
psping64 www.baidu.com:443
psping64 -t www.baidu.com:443


640.png


二、Linux下TCP端口探测


1、nc命令


yum install nc

640.png


nc -vz 192.168.31.1 22
nc -vz 192.168.31.1 8122

640.png


2、nping工具


需要安装nmap工具


yum provides nping
yum install nmap -y



640.png


如果是开放端口,可以看到客户端和服务端正常完成握手


nping --tcp-connect -p 8122 192.168.31.1


如果是非开放端口,则收到的显示是这样的


nping --tcp-connect -p 22 192.168.31.1


640.png


nping具体用法可以参考该篇文章


https://cloud.tencent.com/developer/article/1898452


3、Linux下的tcping


yum install tcping
tcping 192.168.31.1 8443


640.png


4、nmap工具


nmap -v -p 8122 192.168.31.1


640.png


Nmap命令的总结可以参考如下链接


https://cloud.tencent.com/developer/article/1953641


三、总结


Linux常用TCP端口探测的方法还有很多

例如最基础的telnet工具就可以进行检测

curl , wget ,ssh命令均可以进行检测

可以不局限于上面介绍的这些工具和命令

相关文章
|
4月前
|
安全 Linux 生物认证
Nexpose 8.25.0 for Linux & Windows - 漏洞扫描
Nexpose 8.25.0 for Linux & Windows - 漏洞扫描
197 0
Nexpose 8.25.0 for Linux & Windows - 漏洞扫描
|
4月前
|
安全 Linux iOS开发
Binary Ninja 5.1.8104 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
Binary Ninja 5.1.8104 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
498 53
Binary Ninja 5.1.8104 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
|
4月前
|
安全 Linux 生物认证
Nexpose 8.24.0 for Linux & Windows - 漏洞扫描
Nexpose 8.24.0 for Linux & Windows - 漏洞扫描
263 17
Nexpose 8.24.0 for Linux & Windows - 漏洞扫描
|
4月前
|
Linux API iOS开发
Binary Ninja 4.2.6455 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
Binary Ninja 4.2.6455 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
341 14
Binary Ninja 4.2.6455 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
|
4月前
|
SQL 安全 Linux
Metasploit Pro 4.22.8-20251014 (Linux, Windows) - 专业渗透测试框架
Metasploit Pro 4.22.8-20251014 (Linux, Windows) - 专业渗透测试框架
253 1
Metasploit Pro 4.22.8-20251014 (Linux, Windows) - 专业渗透测试框架
|
4月前
|
Linux 网络安全 iOS开发
Metasploit Framework 6.4.95 (macOS, Linux, Windows) - 开源渗透测试框架
Metasploit Framework 6.4.95 (macOS, Linux, Windows) - 开源渗透测试框架
358 1
Metasploit Framework 6.4.95 (macOS, Linux, Windows) - 开源渗透测试框架
|
5月前
|
JSON 安全 Linux
Nexpose 8.22.0 for Linux & Windows - 漏洞扫描
Nexpose 8.22.0 for Linux & Windows - 漏洞扫描
206 1
Nexpose 8.22.0 for Linux & Windows - 漏洞扫描
|
4月前
|
Linux 虚拟化 iOS开发
VMware Remote Console 13.0.1 for macOS, Linux, Windows - vSphere 虚拟机控制台的桌面客户端
VMware Remote Console 13.0.1 for macOS, Linux, Windows - vSphere 虚拟机控制台的桌面客户端
945 0
VMware Remote Console 13.0.1 for macOS, Linux, Windows - vSphere 虚拟机控制台的桌面客户端
|
4月前
|
Linux iOS开发 计算机视觉
GIMP 3.0.6 (Linux, macOS, Windows) 发布 - 免费开源图像编辑器
GIMP 3.0.6 (Linux, macOS, Windows) 发布 - 免费开源图像编辑器
366 0
|
5月前
|
数据管理 Linux iOS开发
Splunk Enterprise 9.4.5 (macOS, Linux, Windows) - 机器数据管理和分析
Splunk Enterprise 9.4.5 (macOS, Linux, Windows) - 机器数据管理和分析
181 0