-
Notifications
You must be signed in to change notification settings - Fork 75
/
installer.sh
60 lines (53 loc) · 1.79 KB
/
installer.sh
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
56
57
58
59
60
#!/bin/bash
# Created by MrBlackX/TheMasterCH
# Actual maintainer: 0n1cOn3
# Version 0.6
# Install dependencies
pkg install figlet -y &> /dev/null
# Get colors ready
red='\e[1;31m'
green='\e[1;32m'
blue='\e[1;34m'
purple='\e[1;35m'
echo -e "$red" "figlet Termux-Wifi"
echo -e "$blue" "by MrBlackx/TheMasterCH"
echo -e "$purple" "modified by 0n1cOn3"
prepare_environment() {
termux-setup-storage
apt install git curl python2 python3 -y
clear
}
prepare_environment_2() {
apt install figlet wget proot tar curl -y
# new Repo needs to be used cause the owner seems to discontinue the project (Readonly)wget https://raw.githubusercontent.com/Neo-Oli/termux-ubuntu/master/ubuntu.sh
wget https://raw.githubusercontent.com/tuanpham-dev/termux-ubuntu/master/ubuntu.sh
chmod +x ubuntu.sh
bash ubuntu.sh
clear
}
install_environment() {
echo -e "$purple" "==============================================================="
echo " "
echo -e "$blue" && figlet "Installing requirements..."
echo " "
echo -e "$purple" "==============================================================="
chmod +rwx ubuntu.sh
./ubuntu.sh
clear
echo -e "$purple" "Successfully installed!"
sleep 3
./start-ubuntu.sh
apt-get update
apt-get upgrade -y
apt-get install git net-tools wireless_tools aircrack-ng xterm isc-dhcp-server reaver ettercap ettercap-text-only ettercap-graphical dsniff hostapd iptables bully ssltrip unzip expect expect-dev lighttpd hashcat pixiewps curl pip pip3 iwconfig php-cgi -y
dhcpd -y
git clone https://www.github.com/FluxionNetwork/fluxion.git
cd fluxion && chmod +rwx *
./fluxion.sh
echo -e "$red" "by MrBlackX/TheMasterCH"
echo -e "$purple" "modified by 0n1cOn3"
echo -e "$green" "Successfully installed!"
}
prepare_environment
prepare_environment_2
install_environment