当前位置:网站首页>4-2 port banner information acquisition
4-2 port banner information acquisition
2022-06-29 19:12:00 【Mountain Rabbit 1】
Classification of ports
Port range 0-65535, yes 2^16
TCP Port and UDP port . because TCP and UDP The two agreements are independent , So their port numbers are also independent of each other , such as TCP Yes 235 port ,UDP There can be 235 port , There is no conflict between the two .
Ports are divided into :
1、 Known as port
The known port is a well-known port number , Range from 0 To 1023, among 80 Port allocation WWW service 、web service ,21 Port allocation FTP service 、22 Port allocation ssh Service etc. . In this case , When we enter a web address in the address bar of the browser , It is unnecessary to specify the port number , Because by default WWW The port of the service is “80”. if ,HTTP Service changed to 80 port , So at this point , When we input the web address , You need to add... After the colon 8080, Otherwise he will not be able to access , Because he defaults to using 80 port
2、 Dynamic port
Dynamic ports range from 49152 To 65535. It's called dynamic ports , Because it doesn't always allocate certain services , It's dynamic allocation . Therefore, the dynamic port on the computer is listening on , It's probably because of the computer , Controlled by some Trojans , Waiting for the connection
3、 Registered port
port 1024 To 49151, Assign to a user process or application . These processes are mainly user installed programs .
port Banner obtain -nmap
Because each port corresponds to different services , Each service will return different information when we probe , We can use information , Know the current port , Specific services to be opened , And the version number of the service
Use nmap Scan the port information of the specified host , And back to Banner.
nmap IP Address --script banner -p Port number
// We can also specify the range of ports
After detection , Will be output , Our current port , The corresponding banner Information
ping 192.168.42.236
Test connectivity
nmap 192.168.42.236 -p 22 --script banner
nmap 192.168.42.236 -p 1-65535 --script banner
Some are not open , So there was no return banner Information ,nmap It can be scanned individually , You can also customize multiple ports , Conduct banner Information scanning
边栏推荐
- 76. nearest common ancestor of binary tree
- JS-判断数组键名是否存在
- MySQL enterprise development specification
- 【软件测试】01 -- 软件生命周期、软件开发模型
- 出逃与进军,临期食品的「双面江湖」
- Installation and configuration of MariaDB
- TP5 where queries whether a field in the database contains a value. Fuzzy queries are performed without the like method
- Meta agent model can be migrated to resist attacks
- Machine learning 8-artificial neural network
- Hello, do you have any official website samples for MySQL CDC, PostgreSQL CDC? Give me a link to learn
猜你喜欢
C语言数组专题训练
After CDN is added to the website, the Font Icon reports an error access control allow origin
正则表达式系列之手机号码正则
Selenium的各类API方法
Violent solution to the question of guessing the ranking
tp5 where查询数据库中的某个字段是否包含某个值,不用like的方法,模糊查询
SQL Server Backup and restore command operations
微信推出图片大爆炸功能;苹果自研 5G 芯片或已失败;微软解决导致 Edge 停止响应的 bug|极客头条
[笔记]再笔记--边干边学Verilog HDL –008
销量赶不上拿钱速度,威马赴港救急
随机推荐
Machine learning 7-Support vector machine
誰在抖音文玩裏趁亂打劫?
微信推出图片大爆炸功能;苹果自研 5G 芯片或已失败;微软解决导致 Edge 停止响应的 bug|极客头条
【历史上的今天】6 月 29 日:SGI 和 MIPS 合并;微软收购 PowerPoint 开发商;新闻集团出售 Myspace
暴力解决《猜名次》问题
Panda Parkour JS games code
jfinal中如何使用过滤器监控Druid监听SQL执行?
Introduction to isalpha () method
UnrealEngine插件中使用protobuf 链接mysql
2. 银河麒麟离线模式下如何安装MySQL数据库
【Proteus仿真】矩阵键盘中断扫描
Intégration d'outils et de cadres tiers
Oracle11.2.0.4-Rac集群hang分析记录
STM32CubeMX 学习(6)外部中断实验
Unittest unit test framework
Why is informatization ≠ digitalization? Finally someone made it clear
MySQL Enterprise Development Specification
Win11安装权限在哪里设置?Win11安装权限设置的方法
正则表达式系列之手机号码正则
元素等待机制