forked from arm0red/scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wlan1managed
executable file
·28 lines (25 loc) · 1.17 KB
/
wlan1managed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
clear
# _____ _
# | _ | | |
# __ _ _ __ _ __ ___ | |/' | _ __ ___ __| |
# / _` | '__| '_ ` _ \| /| || '__/ _ \/ _` |
# | (_| | | | | | | | \ |_/ /| | | __/ (_| |
# \__,_|_| |_| |_| |_|\___(_)_| \___|\__,_|
base64 -d <<<"H4sIAAAAAAAAA22NQQoAIQhF957CXQ0MeKHgdxAPP1+tWUSKEs+nqV4DESdTlbvtOfSDeeo8k7kb
iyNr7D9gW7opJl8tQINOOoN3jeOkFmBJwuq56PVd5VCnZovHSt/XB/DCEXqgKkJ0PEHj6SWpyAe/
8We1GwEAAA==" | gunzip
echo -e "\e[31;1m ***** \e[34;1m arm0.red Security \e[31;1m *****\e[0m"
echo -e "\e[31;1m ***** \e[34;1m wlan1 Managed Mode \e[31;1m *****\e[0m"
echo ""
echo -e "\e[31;1m ***** Setting up \e[34;1m Managed Mode \e[31;1m on \e[34;1m wlan1 \e[31;1m *****\e[0m"
sudo systemctl start NetworkManager
sudo systemctl start wpa_supplicant
sudo ip link set wlan1 down
sudo iw dev wlan1 set type managed
echo -e "\e[31;1m ***** Resetting \e[34;1m Mac Address \e[31;1m on \e[34;1m wlan1 \e[31;1m *****\e[0m"
sudo macchanger -p wlan1
sudo ip link set wlan1 up
sudo iw dev wlan1 info
echo -e "\e[31;1m ***** \e[34;1m wlan1 \e[31;1m is now in \e[34;1m Managed Mode \e[31;1m *****\e[0m"
echo -e "\e[1;32mDone.\e[0m"