Skip to content

通过知识获得解放,通过技术获得自由

Menu
  • 专题目录
  • 液压相关
    • 液压技术
    • 液压相邻技术
    • 液压应用
  • 计算机相关
    • 计算机和软件
    • 网络和网站技术
  • 哲学
  • 关于本站
Menu

KAli安装RTL8812au驱动(官方推荐)[0]

Posted on 2023年11月14日 by
  • 移除可能的旧驱动
apt remove realtek-rtl88xxau-dkms && apt purge realtek-rtl88xxau-dkms
  • 检查usb网卡,输入lsusb检查
usb已经识别
  • airmon-ng命令检查网卡是否支持监听模式
显示没有识别监听模式的网卡
  • 更新系统
apt update && apt upgrade
reboot
apt-get dist-upgrade
apt autoremove && apt autoclean
reboot
  • 更新linux 内核头文件
apt install linux-headers-$(uname -r)
  • 安装编译环境
apt-get install build-essential libelf-dev
  • 安装DKMS内核编译模块
apt-get install dkms
git clone -b v5.6.4.2 https://github.com/aircrack-ng/rtl8812au.git
cd rtl*
make dkms_install
安装完成的效果
  • 再次检查网卡, airmon-ng

检查网卡基本情况

iwconfig
iw list

查看信道

iwlist wlan0 frequency

发现AP

iw dev wlan0 scan | grep SSID

设置监听模式

iw dev wlan0 interface add wlan0mon type monitor
ifconfig wlan0mon up #添加wlan0mon后不会自动启动,需要手动进行启动

抓包之后可以删除monitor

iw dev wlan0mon interface del
  • RTL8812au的使用, 把网卡设置为监听模式
ip link set wlan0 down #关闭接口
iwconfig wlan0 mode monitor  #设置监听模式
或者iw dev wlan0 set type monitor
ip link set wlan0 up #开启接口
airmon-ng start wlan0 #

修改NetworkManager配置

nano /etc/NetworkManager/NetworkManager.conf
添加
[device]
wifi.scan-rand-mac-address=no

service NetworkManager restart #重启网络服务管理器
  • 强制把网卡转为5G频率
iw wlan0 set freq 5745 80 5775 #设置频段
iw wlan0 set txpower fixed 3000 #设置功率
改之前
改之后
  • 网络攻击
iw wlan0 set freq 5745 80 5775
airodump-ng wlan0 -C 5745 #网络收集

安装mkd4

apt-get install mdk4
mdk4 wlan0 d -b ./black.txt

参考资料:

  1. https://blog.csdn.net/a916489732/article/details/105126858
  2. https://www.mzbky.com/327.html
  3. https://github.com/aircrack-ng/rtl8812au/
  4. https://xiaolimars.wordpress.com/2018/10/14/5gdeauther/
  5. https://www.youtube.com/watch?v=XstCsdnyPOI
  6. https://1626057480blog.wordpress.com/2018/05/01/mdk4-trying/
  7. https://www.cnblogs.com/jiangml/p/11210627.html

欢迎回来

希望本站对你有所帮助!

如有疑问请联系info@fanlog.org
2023 年 11 月
一二三四五六日
 12345
6789101112
13141516171819
20212223242526
27282930 
« 6 月    

AI辅助 (17)

© 2025 | Powered by Superbs Personal Blog theme
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT