当前位置:网站首页>3-2主机发现-三层发现
3-2主机发现-三层发现
2022-06-29 18:57:00 【山兔1】

三层主机发现优缺点
三层主机发现指:利用OSI中网络中的协议进行主机发现。一般使用ICMP协议。
优点:
1、可以发现远程主机,经过路由的主机,弥补了我们二层发现不能发现不同子网的主机
2、速度相对比较快
缺点:
1、经常被防火墙过滤,icmp经常被防火墙过滤
2、速度相比二层发现慢
三层发现-ping工具
ping工具在linux和windows都有自带,自带这些工具是有不同的,linux下ping如果不指定-c参数,一直扫描。windows下默认进行四次探测。

ifconfig
ping 192.168.42.1

因为我们本机开了防火墙,我们关闭一下

ping 192.168.42.1
ctrl+z

ping 192.168.42.1 -c 4

ipconfig
ping 192.168.42.128

我们在探测过程中,也会发现探测子网主机的存活性,使用第三层发现,那么就不能直接达到目的
三层发现-fping工具
kali linux 下自带工具可以进行对应的三层主机发现。可以针对多个主机同时进行主机发现
主机发现指当前网络下开启或存活的主机

CIDR无域间地址转换,/24这么个写法
fping -g 192.168.42.0/24
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-iAEJAcaQ-1656477999308)(3-2主机发现-三层发现.assets/10.png)]
他在探测完成之后,会重新探测
三层发现-hping3工具
kali linux 自带工具hping3对目标进行三层主机发现。特点:发送自定义ICMP数据包

我们也可以指定其他的数据包类型
clear
hping3 --help

我们发现我们可以修改icmp参数
hping3 -c 3 -1 192.168.42.1

hping3 -c 3 -1 192.168.42.1 --icmpcode 1

当然,我们也可以修改icmp其它数据包的内容,去进行更加细化的操作,使得我们可以绕过一些具体防火墙,进行对应的主机发现
边栏推荐
- Svg circle drawing path animation
- 技术保证质量,软件测试的这些测试方法你都掌握了吗?
- PHP 输出两个指定日期之间的所有日期
- STM32CubeMX 学习(6)外部中断实验
- UnrealEngine插件中使用protobuf 链接mysql
- Seven cattle image access parameters (thumbnails are small in size to avoid wasting traffic)
- powershell命令仅输出目录列表
- Fastdfs
- 金鱼哥RHCA回忆录:DO447构建高级作业工作流--创建工作流作业模板并启动工作流作业
- Page object and data driven test
猜你喜欢

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

Dragon canvas animation

Panda Parkour JS games code

微信推出图片大爆炸功能;苹果自研 5G 芯片或已失败;微软解决导致 Edge 停止响应的 bug|极客头条

揭秘!付费会员制下的那些小心机!

2. add customized related files to the keil5 project established by stm32cubemx

从CIO到顾问:IT领导者的转型之路

Anaconda installs and configures jupyter notebook remote

Advanced features of selenium webdriver

Unittest unit test framework
随机推荐
2. add customized related files to the keil5 project established by stm32cubemx
The strategy of convertible bonds -- - (cake sharing, premium, forced redemption, downward revision, double low)
Shandong University project training (VIII) design rotation map entry page
Introduction to isalpha () method
金鱼哥RHCA回忆录:DO447构建高级作业工作流--创建工作流作业模板并启动工作流作业
Dragon canvas animation
建立自己的网站(12)
虎符限币种提现 用户曲线出金即亏损
Cross browser testing of selenium
Solution of portable emergency communication system for flood control and rescue
freeswitch拨打分机号
【Proteus仿真】矩阵键盘中断扫描
ChainSafe跨链桥部署教程
Svg circle drawing path animation
These advantages of the Institute are really fragrant! The landing rate is still very high!
Redis (I) -- getting started with redis (2) -- redis data type
揭秘!付费会员制下的那些小心机!
七牛图片访问参数(缩略图小尺寸啥的,避免浪费流量)
The developer task center is online! Thousands of yuan of gifts!
AI场景存储优化:云知声超算平台基于 JuiceFS 的存储实践