-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWirelessSec_env_install.sh
More file actions
55 lines (54 loc) · 1.69 KB
/
WirelessSec_env_install.sh
File metadata and controls
55 lines (54 loc) · 1.69 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#Wireless Security and OSWP Exam Environment Setup
#!/bin/bash
# Display system information
echo "Gathering system information..."
echo "Operating System Details:"
cat /etc/os-release
echo
echo "Kernel Details:"
uname -a
echo
# Update system and install mandatory tools
echo "Updating system and installing mandatory tools..."
sudo apt update && sudo apt install -y \
aircrack-ng \
hashcat \
reaver \
bully \
macchanger \
hostapd \
hostapd-mana \
dnsmasq \
python3 \
python3-pip \
libssl-dev \
freeradius \
mdk4 \
apache2 \
libapache2-mod-php \
php \
screen \
isc-dhcp-server
# Install optional recommended tools
echo "Installing optional recommended tools..."
sudo apt install -y pixiewps hcxdumptool hcxtools
sudo apt install -y wireshark tshark
sudo apt install -y sslstrip ettercap-graphical bettercap
# Clone and set up GitHub tools
echo "Cloning and setting up eaphammer..."
git clone https://github.com/s0lst1c3/eaphammer.git && cd eaphammer && sudo ./kali-setup && cd ..
echo "Cloning airgeddon..."
git clone https://github.com/v1s1t0r1sh3r3/airgeddon.git
echo "Cloning and setting up wifiphisher..."
git clone https://github.com/wifiphisher/wifiphisher.git && cd wifiphisher && sudo python3 setup.py install && cd ..
# Verification step
echo "Verifying installed tools..."
tools=("aircrack-ng" "hashcat" "reaver" "bully" "macchanger" "pixiewps" "hcxdumptool" "hcxtools" "wireshark" "tshark" "sslstrip" "ettercap" "bettercap")
for tool in "${tools[@]}"; do
if command -v $tool &> /dev/null; then
echo "$tool is installed successfully."
else
echo "Error: $tool is not installed."
fi
done
echo "Installation completed!"