当前位置:网站首页>网络层—简单的arp断网
网络层—简单的arp断网
2022-07-06 09:22:00 【又懒有菜】
目录
2)kali选择网卡 需要ifconfig与物理机在同一网段(注意)
一、ARP协议
ARP(Address Resolution Protocol)地址解析协议,目的是实现IP地址到MAC地址的转换。
在计算机间通信的时候,计算机要知道目的计算机是谁(就像我们人交流一样,要知道对方是谁),这中间需要涉及到MAC地址,而MAC是真正的电脑的唯一标识符。
为什么需要ARP协议呢?因为在OSI七层模型中,对数据从上到下进行封装发送出去,然后对数据从下到上解包接收,但是上层(网络层)关心的IP地址,下层关心的是MAC地址,这个时候就需要映射IP和MAC。
二、环境准备
大环境:物理机+kali
小工具:namp/fping+arpspoof
三、断网攻击原理
图解ARP协议(二)ARP攻击原理与实践 - 知乎 (zhihu.com)https://zhuanlan.zhihu.com/p/367998688
四、废话不多,开干开干
1)物理机查看网段以及被攻击ip
2)kali选择网卡 需要ifconfig与物理机在同一网段(注意)
3)kali扫描网段存活主机
fping命令
fping -g 192.168.1.0/24
nmap命令(扫描不到物理机,因为是宿主机)
nmap -sP 192.168.1.0/24
推荐此实验使用,fping
4)观察物理机是否能上网(可以)
5)攻击命令 eth0是与物理机ip处在同一网段的网卡
sudo arpspoof -i eth0 -t 物理机ip 网关ip
6)成功断网
7)恢复网络 kali ctrl+c 结束命令
tips:连上校园网 试试你舍友的ip吧!
边栏推荐
- 7-6 local minimum of matrix (PTA program design)
- Safe driving skills on ice and snow roads
- 实验六 继承和多态
- Reinforcement learning series (I): basic principles and concepts
- [the Nine Yang Manual] 2021 Fudan University Applied Statistics real problem + analysis
- A comprehensive summary of MySQL transactions and implementation principles, and no longer have to worry about interviews
- 7-3 construction hash table (PTA program design)
- js判断对象是否是数组的几种方式
- Experiment five categories and objects
- 7-4 散列表查找(PTA程序设计)
猜你喜欢
这次,彻底搞清楚MySQL索引
It's never too late to start. The tramp transformation programmer has an annual salary of more than 700000 yuan
【VMware异常问题】问题分析&解决办法
Experiment 6 inheritance and polymorphism
Mixlab unbounded community white paper officially released
深度强化文献阅读系列(一):Courier routing and assignment for food delivery service using reinforcement learning
[面试时]——我如何讲清楚TCP实现可靠传输的机制
Have you encountered ABA problems? Let's talk about the following in detail, how to avoid ABA problems
7-5 走楼梯升级版(PTA程序设计)
Poker game program - man machine confrontation
随机推荐
[au cours de l'entrevue] - Comment expliquer le mécanisme de transmission fiable de TCP
MySQL事务及实现原理全面总结,再也不用担心面试
[data processing of numpy and pytoch]
简述xhr -xhr的基本使用
Have you encountered ABA problems? Let's talk about the following in detail, how to avoid ABA problems
SRC挖掘思路及方法
编写程序,模拟现实生活中的交通信号灯。
一段用蜂鸣器编的音乐(成都)
7-14 错误票据(PTA程序设计)
7-5 staircase upgrade (PTA program design)
仿牛客技术博客项目常见问题及解答(二)
QT meta object qmetaobject indexofslot and other functions to obtain class methods attention
7-3 构造散列表(PTA程序设计)
Meituan dynamic thread pool practice ideas, open source
Experiment 6 inheritance and polymorphism
7-15 h0161. 求最大公约数和最小公倍数(PTA程序设计)
Experiment 8 exception handling
js判断对象是否是数组的几种方式
Thoroughly understand LRU algorithm - explain 146 questions in detail and eliminate LRU cache in redis
Miscellaneous talk on May 14