当前位置:网站首页>3-3 host discovery - layer 4 discovery
3-3 host discovery - layer 4 discovery
2022-06-29 19:12:00 【Mountain Rabbit 1】

Advantages and disadvantages of the four layer discovery
Four layer discovery refers to the use of OSI Host discovery using the transport layer protocol in , In general , The four layer protocol includes TCP、UDP
advantage :
1、 Can detect remote hosts , It can also be detected by routing
2、 More reliable than the three-tier discovery , Because the third layer uses ICMP agreement , It may be filtered by the firewall
shortcoming :
It takes a long time , Compared with the second layer discovery and the third layer discovery
Discovery on the fourth floor -nmap Tools
kali linux Self contained NMAP You can do two 、 3、 ... and 、 Detection on the fourth floor , Let's demonstrate nmap Probe
Use it directly nmap IP Address To detect ,nmap The corresponding port scanning will be performed , And host discovery , Can be two 、 3、 ... and 、 Four

ping edu.51cto.com

First get IP Address
nmap 203.107.44.140

Such a detection process is relatively accurate , because nmap In addition to calling the four layers , It will also call the contents of two or three layers , Do port probing , The result is IP Address survival , That is, the host survives
Discovery on the fourth floor -hping3 Tools
kali linux Take off your own tools hping3 You can perform corresponding layer 4 host discovery
hping3 --udp -c 3 IP Address
// Said the use of UDP To detect
By default , We detect the target IP Address , The corresponding port number is 0, We need to use -p To use the port number

Because the packets he sent , Were lost , So when we are exploring , It must be combined with multi-layer host for detection , Second, third and fourth floors , To ensure that the current host is alive
hping3 --udp -c 1000 -p 80 203.107.44.140

This is the time , We turn on wireshark Carry out grab bag analysis

We can see that we send udp Packet to target , But the target did not return , So it may be the state firewall on the target host , Filter , As a result, we cannot receive the corresponding effect , This further proves , We need a variety of ways to detect
The host found -python Script
Use github Host discovery scripts shared on :https://github.com/s0cket7/nWatch
边栏推荐
- SQL Server Backup and restore command operations
- 元素等待机制
- Machine learning 7-Support vector machine
- 金鱼哥RHCA回忆录:DO447构建高级作业工作流--创建工作流作业模板并启动工作流作业
- 福昕软件受邀亮相2022先进制造业数智发展论坛
- selenium的跨浏览器测试
- Hello, do you have any official website samples for MySQL CDC, PostgreSQL CDC? Give me a link to learn
- Several code screenshots beautification tools worth collecting by programmers
- 1. 使用STM32CubeMX建立STM32G030C8T6项目工程
- jfinal中如何使用过滤器监控Druid监听SQL执行?
猜你喜欢

Win11策略服务被禁用怎么办?Win11策略服务被禁用的解决方法

信息系统项目管理师---第七章项目成本管理历年考题

From CIO to Consultant: the transformation of it leaders

Up to 81.98%! Announcement of undergraduate study rate of more than 100 "double first-class" Universities

Product axure9 (English version), repeater implements addition, deletion, query and modification of table contents (crud)

Selenium的各类API方法

AI场景存储优化:云知声超算平台基于 JuiceFS 的存储实践

The table ‘table_ Name 'is full exception troubleshooting and solution

企业数字化转型的点、线、面、体!

Apache inlong million billion level data stream processing
随机推荐
unittest单元测试框架
深度学习---三好学生各成绩所占权重问题(2)
C#_摄像头图像转换为Bitmap格式及绘制十字线
Deep learning --- the weight of the three good students' scores (2)
[Nanjing University] information sharing of the first and second postgraduate entrance examinations
The sales volume could not catch up with the speed of taking money. Weima went to Hong Kong for emergency rescue
QC协议+华为FCP+三星AFC快充取电5V9V芯片FS2601应用
终于,进亚马逊了~
Machine learning 7-Support vector machine
出逃与进军,临期食品的「双面江湖」
誰在抖音文玩裏趁亂打劫?
PHP implementation of sorting two-dimensional arrays by specified key names
虎符限币种提现 用户曲线出金即亏损
Mac: MySQL 66 questions, 20000 words + 50 pictures!
Selenium的各类API方法
小米笔试真题一
高能直播,大咖云集!邀你共启BizDevOps探索之路。
76. nearest common ancestor of binary tree
From CIO to Consultant: the transformation of it leaders
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