当前位置:网站首页>4-2端口Banner信息获取
4-2端口Banner信息获取
2022-06-29 18:57:00 【山兔1】

端口的分类
端口范围0-65535,是2^16
TCP端口和UDP端口。由于TCP和UDP两个协议是独立的,因此各自的端口号也相互独立,比如TCP有235端口,UDP也可以有235端口,两者并不冲突。
端口分为:
1、周知端口
周知端口是众所周知的端口号,范围从0到1023,其中80端口分配给WWW服务、web服务,21端口分配给FTP服务、22端口分配给ssh服务等。在这样的情况下,我们在浏览器的地址栏输入一个网址的时候,是不必指定端口号的,因为默认情况下WWW服务的端口是“80”。如果说,HTTP服务改为80端口,那这个时候,我们在输入网址的时候,就需要在冒号后面加上8080,否则他是无法访问,因为他默认是使用80端口
2、动态端口
动态端口的范围是从49152到65535。之所以称为动态端口,是因为它一般不固定分配某种服务,而是动态分配。所以在计算机上碰到动态端口处于监听开启状态,很有可能是因为计算机,被某些木马所控制,等待连接
3、注册端口
端口1024到49151,分配给用户进程或应用程序。这些进程主要是用户安装的程序。
端口Banner获取-nmap
因为每个端口对应不同服务,每种服务在我们探测时就会返回不同的信息,我们可以通过信息,得知当前的端口,所开放的具体服务,和服务的版本号等等
使用nmap扫描指定主机的端口信息,并返回Banner。
nmap IP地址 --script banner -p 端口号
//我们也可以指定端口的范围

探测结束后,就会输出,我们当前的端口,所对应的banner信息
ping 192.168.42.236

测试连通性
nmap 192.168.42.236 -p 22 --script banner
nmap 192.168.42.236 -p 1-65535 --script banner

有的没有开放,所以没有返回banner信息,nmap既可以单个扫描,也可以自定义的对多个端口,进行banner信息扫描
边栏推荐
猜你喜欢

SQL Server Backup and restore command operations

建立自己的网站(12)

selenium的跨浏览器测试

【️爬虫必备->Scrapy框架从黑铁到王者️】初篇——万字博文详解(建议收藏)

Deep learning --- the weight of the three good students' scores (2)

云上未来,数智导航:阿里云研究院报告合集

Win11安装权限在哪里设置?Win11安装权限设置的方法

Cross browser testing of selenium

75. nearest common ancestor of binary search tree

UnrealEngine插件中使用protobuf 链接mysql
随机推荐
Apache inlong million billion level data stream processing
Meta agent model can be migrated to resist attacks
Up to 81.98%! Announcement of undergraduate study rate of more than 100 "double first-class" Universities
Several code screenshots beautification tools worth collecting by programmers
小米笔试真题一
AI场景存储优化:云知声超算平台基于 JuiceFS 的存储实践
Arm 全面计算解决方案重新定义视觉体验强力赋能移动游戏
swift可选值总结
These advantages of the Institute are really fragrant! The landing rate is still very high!
75. nearest common ancestor of binary search tree
isalpha()方法介绍
curl下载示例
谁在抖音文玩里趁乱打劫?
Wechat launched the picture big bang function; Apple's self-developed 5g chip may have failed; Microsoft solves the bug that causes edge to stop responding | geek headlines
Why is informatization ≠ digitalization? Finally someone made it clear
为什么信息化 ≠ 数字化?终于有人讲明白了
微信推出图片大爆炸功能;苹果自研 5G 芯片或已失败;微软解决导致 Edge 停止响应的 bug|极客头条
SQL Server Backup and restore command operations
Seven cattle image access parameters (thumbnails are small in size to avoid wasting traffic)
Installation and configuration of MariaDB