diff --git a/smashbroshaxer b/smashbroshaxer index 28ed642..94fac67 100755 --- a/smashbroshaxer +++ b/smashbroshaxer @@ -4,7 +4,7 @@ basedir=$(readlink -m "${BASH_SOURCE[0]}") basedir=$(dirname ${basedir}) reldate="2016/07/24" -version="2.0" +version="3.0" if [[ $(uname -m) == "x86_64" ]]; then YAD=${basedir}/bin/yad.64 @@ -19,12 +19,16 @@ hax_my_smash () { "sudo ifconfig ${device} down && \ sudo iwconfig ${device} mode monitor && \ sudo ifconfig ${device} up && \ + sudo iwconfig ${device} channel 6​ && \ yes | sudo ${AIREPLAY} \ --interactive \ -r ${replay} \ -h 59:ee:3f:2a:37:e0 \ -x 20 \ - ${device}" + ${device} && \ + sudo ifconfig ${device} down && \ + sudo iwconfig ${device} mode managed && \ + sudo ifconfig ${device} up​" }