mirror of
https://gitlab.com/Nanolx/smashbroshaxer.git
synced 2024-11-22 01:09:16 +01:00
version 3.0
- switch to channel 6 (should do things faster) - return wifi interface to normal after stuff is done
This commit is contained in:
parent
4b9b208af6
commit
39162bfa5d
@ -4,7 +4,7 @@ basedir=$(readlink -m "${BASH_SOURCE[0]}")
|
|||||||
basedir=$(dirname ${basedir})
|
basedir=$(dirname ${basedir})
|
||||||
|
|
||||||
reldate="2016/07/24"
|
reldate="2016/07/24"
|
||||||
version="2.0"
|
version="3.0"
|
||||||
|
|
||||||
if [[ $(uname -m) == "x86_64" ]]; then
|
if [[ $(uname -m) == "x86_64" ]]; then
|
||||||
YAD=${basedir}/bin/yad.64
|
YAD=${basedir}/bin/yad.64
|
||||||
@ -19,12 +19,16 @@ hax_my_smash () {
|
|||||||
"sudo ifconfig ${device} down && \
|
"sudo ifconfig ${device} down && \
|
||||||
sudo iwconfig ${device} mode monitor && \
|
sudo iwconfig ${device} mode monitor && \
|
||||||
sudo ifconfig ${device} up && \
|
sudo ifconfig ${device} up && \
|
||||||
|
sudo iwconfig ${device} channel 6 && \
|
||||||
yes | sudo ${AIREPLAY} \
|
yes | sudo ${AIREPLAY} \
|
||||||
--interactive \
|
--interactive \
|
||||||
-r ${replay} \
|
-r ${replay} \
|
||||||
-h 59:ee:3f:2a:37:e0 \
|
-h 59:ee:3f:2a:37:e0 \
|
||||||
-x 20 \
|
-x 20 \
|
||||||
${device}"
|
${device} && \
|
||||||
|
sudo ifconfig ${device} down && \
|
||||||
|
sudo iwconfig ${device} mode managed && \
|
||||||
|
sudo ifconfig ${device} up"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user