Last active
June 6, 2024 21:26
-
-
Save momenbasel/0bbaea4014503c659cc93705466c295d to your computer and use it in GitHub Desktop.
tp-link Tl-wn722n v2/v3 monitoring && packet injection. atheros ar9271
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt update -y && apt upgrade -y && apt dist-upgrade | |
sudo apt-get install linux-headers-$(uname -r) -y | |
sudo apt install bc -y | |
sudo rmmod r8188eu.ko | |
git clone https://github.com/aircrack-ng/rtl8188eus | |
cd rtl8188eus | |
sudo -i | |
echo "blacklist r8188eu.ko" > "/etc/modprobe.d/realtek.conf" | |
exit | |
make | |
sudo make install | |
sudo modprobe 8188eu | |
echo "testing monitor-mode" | |
sudo airmon-ng check kill | |
sudo ip link set wlan0 down | |
sudo iw dev wlan0 set type monitor | |
sudo ifconfig wlan0 up | |
echo "testing packet injection" | |
sudo aireplay-ng -9 wlan0 | |
#reboot | |
echo "the device will reboot ..." | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Excuse me sir, what version of linux are we use sir?