Remove dependencies, since wps slaughter isn't used anymore

This commit is contained in:
deltaxflux 2017-07-18 13:06:21 +02:00
parent de83470f50
commit 7ebf0ef03c
5 changed files with 350 additions and 370 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "sites"]
path = sites
url = https://github.com/FluxionNetwork/sites

View File

@ -21,10 +21,10 @@ In the experimental version it will automatically check the handshake. I will fi
This is how the script works. The fake captive portal is set up by the script itself to collect the credentials. Don't freak, it's al okay. This is how the script works. The fake captive portal is set up by the script itself to collect the credentials. Don't freak, it's al okay.
#### "The MAC address of the fake access point differs from the original" #### "The MAC address of the fake access point differs from the original"
The MAC address of the fake access point differs by one octet from the original in order to prevent fluxion deauthenticating clients from itself during the session. The MAC address of the fake access point differs by one octet from the original in order to prevent fluxion deauthenticating clients from itself during the session.
## Installation ## Installation
``` wget https://raw.githubusercontent.com/FluxionNetwork/fluxion/master/install/install.sh && bash install.sh ``` ``` git clone --recursive https://github.com/FluxionNetwork/fluxion.git```
## Updates ## Updates
If you want to submit a feature, do so by labeling your issue as an "enhancement" or submit a PR. I don't have enough time to make daily changes to fluxion, sorry. If you want to submit a feature, do so by labeling your issue as an "enhancement" or submit a PR. I don't have enough time to make daily changes to fluxion, sorry.

View File

@ -24,24 +24,24 @@ DUMP_PATH="/tmp/Installer/"
function conditional_clear() { function conditional_clear() {
if [[ "$INSTALLER_output_device" != "/dev/stdout" ]]; then clear; fi if [[ "$INSTALLER_output_device" != "/dev/stdout" ]]; then clear; fi
} }
#Config_END #Config_END
if [ $INSTALLER_DEBUG = 1 ]; then if [ $INSTALLER_DEBUG = 1 ]; then
## Developer Mode ## Developer Mode
export INSTALLER_output_device=/dev/stdout export INSTALLER_output_device=/dev/stdout
HOLD="-hold" HOLD="-hold"
else else
## Normal Mode ## Normal Mode
export INSTALLER_output_device=/dev/null export INSTALLER_output_device=/dev/null
HOLD="" HOLD=""
fi fi
#Check root #Check root
if [[ $EUID -ne 0 ]]; then if [[ $EUID -ne 0 ]]; then
echo -e "\e[1;31mYou don't have admin privilegies, execute the script as root."$transparent echo -e "\e[1;31mYou don't have admin privilegies, execute the script as root."$transparent
exit exit
fi fi
clear clear
@ -53,74 +53,72 @@ if [ -z "${DISPLAY:-}" ]; then
exit 1 exit 1
fi fi
function mostrarheader(){ function mostrarheader(){
conditional_clear conditional_clear
echo -e "$red[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]" echo -e "$red[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]"
echo -e "$red[ ]" echo -e "$red[ ]"
echo -e "$red[ $red FLUXION $version" "${yellow} ${red} < F""${yellow}luxion" "${red}I""${yellow}s" "${red}T""${yellow}he ""${red}F""${yellow}uture > " ${blue}" ]" echo -e "$red[ $red FLUXION $version" "${yellow} ${red} < F""${yellow}luxion" "${red}I""${yellow}s" "${red}T""${yellow}he ""${red}F""${yellow}uture > " ${blue}" ]"
echo -e "$blue[ ]" echo -e "$blue[ ]"
echo -e "$blue[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]""$transparent" echo -e "$blue[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]""$transparent"
echo echo
echo echo
} }
function setresolution { function setresolution {
function resA { function resA {
TOPLEFT="-geometry 90x13+0+0" TOPLEFT="-geometry 90x13+0+0"
TOPRIGHT="-geometry 83x26-0+0" TOPRIGHT="-geometry 83x26-0+0"
BOTTOMLEFT="-geometry 90x24+0-0" BOTTOMLEFT="-geometry 90x24+0-0"
BOTTOMRIGHT="-geometry 75x12-0-0" BOTTOMRIGHT="-geometry 75x12-0-0"
TOPLEFTBIG="-geometry 91x42+0+0" TOPLEFTBIG="-geometry 91x42+0+0"
TOPRIGHTBIG="-geometry 83x26-0+0" TOPRIGHTBIG="-geometry 83x26-0+0"
} }
function resB { function resB {
TOPLEFT="-geometry 92x14+0+0" TOPLEFT="-geometry 92x14+0+0"
TOPRIGHT="-geometry 68x25-0+0" TOPRIGHT="-geometry 68x25-0+0"
BOTTOMLEFT="-geometry 92x36+0-0" BOTTOMLEFT="-geometry 92x36+0-0"
BOTTOMRIGHT="-geometry 74x20-0-0" BOTTOMRIGHT="-geometry 74x20-0-0"
TOPLEFTBIG="-geometry 100x52+0+0" TOPLEFTBIG="-geometry 100x52+0+0"
TOPRIGHTBIG="-geometry 74x30-0+0" TOPRIGHTBIG="-geometry 74x30-0+0"
} }
function resC { function resC {
TOPLEFT="-geometry 100x20+0+0" TOPLEFT="-geometry 100x20+0+0"
TOPRIGHT="-geometry 109x20-0+0" TOPRIGHT="-geometry 109x20-0+0"
BOTTOMLEFT="-geometry 100x30+0-0" BOTTOMLEFT="-geometry 100x30+0-0"
BOTTOMRIGHT="-geometry 109x20-0-0" BOTTOMRIGHT="-geometry 109x20-0-0"
TOPLEFTBIG="-geometry 100x52+0+0" TOPLEFTBIG="-geometry 100x52+0+0"
TOPRIGHTBIG="-geometry 109x30-0+0" TOPRIGHTBIG="-geometry 109x30-0+0"
} }
function resD { function resD {
TOPLEFT="-geometry 110x35+0+0" TOPLEFT="-geometry 110x35+0+0"
TOPRIGHT="-geometry 99x40-0+0" TOPRIGHT="-geometry 99x40-0+0"
BOTTOMLEFT="-geometry 110x35+0-0" BOTTOMLEFT="-geometry 110x35+0-0"
BOTTOMRIGHT="-geometry 99x30-0-0" BOTTOMRIGHT="-geometry 99x30-0-0"
TOPLEFTBIG="-geometry 110x72+0+0" TOPLEFTBIG="-geometry 110x72+0+0"
TOPRIGHTBIG="-geometry 99x40-0+0" TOPRIGHTBIG="-geometry 99x40-0+0"
} }
function resE { function resE {
TOPLEFT="-geometry 130x43+0+0" TOPLEFT="-geometry 130x43+0+0"
TOPRIGHT="-geometry 68x25-0+0" TOPRIGHT="-geometry 68x25-0+0"
BOTTOMLEFT="-geometry 130x40+0-0" BOTTOMLEFT="-geometry 130x40+0-0"
BOTTOMRIGHT="-geometry 132x35-0-0" BOTTOMRIGHT="-geometry 132x35-0-0"
TOPLEFTBIG="-geometry 130x85+0+0" TOPLEFTBIG="-geometry 130x85+0+0"
TOPRIGHTBIG="-geometry 132x48-0+0" TOPRIGHTBIG="-geometry 132x48-0+0"
} }
function resF { function resF {
TOPLEFT="-geometry 100x17+0+0" TOPLEFT="-geometry 100x17+0+0"
TOPRIGHT="-geometry 90x27-0+0" TOPRIGHT="-geometry 90x27-0+0"
BOTTOMLEFT="-geometry 100x30+0-0" BOTTOMLEFT="-geometry 100x30+0-0"
BOTTOMRIGHT="-geometry 90x20-0-0" BOTTOMRIGHT="-geometry 90x20-0-0"
TOPLEFTBIG="-geometry 100x70+0+0" TOPLEFTBIG="-geometry 100x70+0+0"
TOPRIGHTBIG="-geometry 90x27-0+0" TOPRIGHTBIG="-geometry 90x27-0+0"
} }
detectedresolution=$(xdpyinfo | grep -A 3 "screen #0" | grep dimensions | tr -s " " | cut -d" " -f 3) detectedresolution=$(xdpyinfo | grep -A 3 "screen #0" | grep dimensions | tr -s " " | cut -d" " -f 3)
@ -130,14 +128,14 @@ detectedresolution=$(xdpyinfo | grep -A 3 "screen #0" | grep dimensions | tr -s
## D) 1280x1024 ## D) 1280x1024
## E) 1600x1200 ## E) 1600x1200
case $detectedresolution in case $detectedresolution in
"1024x600" ) resA ;; "1024x600" ) resA ;;
"1024x768" ) resB ;; "1024x768" ) resB ;;
"1280x768" ) resC ;; "1280x768" ) resC ;;
"1366x768" ) resC ;; "1366x768" ) resC ;;
"1280x1024" ) resD ;; "1280x1024" ) resD ;;
"1600x1200" ) resE ;; "1600x1200" ) resE ;;
"1366x768" ) resF ;; "1366x768" ) resF ;;
* ) resA ;; * ) resA ;;
esac esac
} }
@ -152,173 +150,164 @@ sudo pacman -S xterm --noconfirm
############################## ##############################
echo -ne "Aircrack-ng....." echo -ne "Aircrack-ng....."
if ! hash aircrack-ng 2>/dev/null; then if ! hash aircrack-ng 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent echo -e "\e[1;31mInstalling ..."$transparent
xterm $HOLD -title "Installing Aircrack-ng" -e pacman -S aircrack-ng xterm $HOLD -title "Installing Aircrack-ng" -e pacman -S aircrack-ng
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Aireplay-ng....." echo -ne "Aireplay-ng....."
if ! hash awk 2>/dev/null; then if ! hash awk 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Awk" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S gawk xterm $HOLD -title "Installing Awk" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S gawk
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Airodump-ng....." echo -ne "Airodump-ng....."
if ! hash airodump-ng 2>/dev/null; then if ! hash airodump-ng 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Airodump-ng" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S aircrack-ng xterm $HOLD -title "Installing Airodump-ng" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S aircrack-ng
else else
echo -e "\e[1;32mOK!"$transparent"" echo -e "\e[1;32mOK!"$transparent""
fi fi
##############################
echo -ne "Bully..........."
if ! hash bully 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent""
cd /tmp;sudo git clone https://aur.archlinux.org/bully.git 2>/dev/null; cd bully; sudo makepkg; sudo pacman -U *.pkg.tar.xz
xterm $HOLD -title "Installing Bully" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S bully
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
############################## ##############################
echo -ne "Curl............" echo -ne "Curl............"
if ! hash curl 2>/dev/null; then if ! hash curl 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Curl" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S curl xterm $HOLD -title "Installing Curl" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S curl
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Dhcpd..........." echo -ne "Dhcpd..........."
if ! hash dhcpd 2>/dev/null; then if ! hash dhcpd 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing isc-dhcp-server" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S dhcp xterm $HOLD -title "Installing isc-dhcp-server" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S dhcp
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Hostapd........." echo -ne "Hostapd........."
if ! hash hostapd 2>/dev/null; then if ! hash hostapd 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Hostapd" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S hostapd xterm $HOLD -title "Installing Hostapd" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S hostapd
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Iwconfig........" echo -ne "Iwconfig........"
if ! hash iwconfig 2>/dev/null; then if ! hash iwconfig 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Iwconfig" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S iwconfig xterm $HOLD -title "Installing Iwconfig" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S iwconfig
else else
echo -e "\e[1;32mOK!"$transparent"" echo -e "\e[1;32mOK!"$transparent""
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Lighttpd........" echo -ne "Lighttpd........"
if ! hash lighttpd 2>/dev/null; then if ! hash lighttpd 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Lighttpd" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S lighttpd xterm $HOLD -title "Installing Lighttpd" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S lighttpd
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Macchanger......" echo -ne "Macchanger......"
if ! hash macchanger 2>/dev/null; then if ! hash macchanger 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Macchanger" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S macchanger xterm $HOLD -title "Installing Macchanger" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S macchanger
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Mdk3............" echo -ne "Mdk3............"
if ! hash mdk3 2>/dev/null; then if ! hash mdk3 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Macchanger" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S mdk3 xterm $HOLD -title "Installing Macchanger" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S mdk3
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Nmap............" echo -ne "Nmap............"
if ! hash nmap 2>/dev/null; then if ! hash nmap 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Nmap" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S nmap xterm $HOLD -title "Installing Nmap" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S nmap
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Openssl........." echo -ne "Openssl........."
if ! hash openssl 2>/dev/null; then if ! hash openssl 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Openssl" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S openssl xterm $HOLD -title "Installing Openssl" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S openssl
else else
echo -e "\e[1;32mOK!"$transparent"" echo -e "\e[1;32mOK!"$transparent""
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Php-cgi........" echo -ne "Php-cgi........"
if ! hash php-cgi 2>/dev/null; then if ! hash php-cgi 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing php-cgi" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S php-cgi xterm $HOLD -title "Installing php-cgi" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S php-cgi
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Pyrit..........." echo -ne "Pyrit..........."
if ! hash pyrit 2>/dev/null; then if ! hash pyrit 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Pyrit" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S pyrit xterm $HOLD -title "Installing Pyrit" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S pyrit
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Python.........." echo -ne "Python.........."
if ! hash python 2>/dev/null; then if ! hash python 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Python" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S python xterm $HOLD -title "Installing Python" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S python
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Reaver.........." echo -ne "Reaver.........."
if ! hash reaver 2>/dev/null; then if ! hash reaver 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Reaver" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S reaver xterm $HOLD -title "Installing Reaver" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S reaver
else else
echo -e "\e[1;32mOK!"$transparent"" echo -e "\e[1;32mOK!"$transparent""
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "rfkill.........." echo -ne "rfkill.........."
if ! hash rfkill 2>/dev/null; then if ! hash rfkill 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Rfkill" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S rfkill xterm $HOLD -title "Installing Rfkill" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S rfkill
@ -330,13 +319,13 @@ echo -ne "Python.........."
############################## ##############################
echo -ne "Unzip..........." echo -ne "Unzip..........."
if ! hash unzip 2>/dev/null; then if ! hash unzip 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing unzip" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S unzip xterm $HOLD -title "Installing unzip" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S unzip
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "strings.........." echo -ne "strings.........."
@ -357,9 +346,5 @@ else
fi fi
sleep 0.025 sleep 0.025
############################# #############################
xterm $HOLD -title "Remove repositories" -e python remove.py xterm $HOLD -title "Remove repositories" -e python remove.py
git clone https://github.com/molovo/revolver revolver
chmod u+x revolver/revolver
mv revolver/revolver /usr/local/bin

View File

@ -25,24 +25,24 @@ DUMP_PATH="/tmp/Installer/"
function conditional_clear() { function conditional_clear() {
if [[ "$INSTALLER_output_device" != "/dev/stdout" ]]; then clear; fi if [[ "$INSTALLER_output_device" != "/dev/stdout" ]]; then clear; fi
} }
#Config_END #Config_END
if [ $INSTALLER_DEBUG = 1 ]; then if [ $INSTALLER_DEBUG = 1 ]; then
## Developer Mode ## Developer Mode
export INSTALLER_output_device=/dev/stdout export INSTALLER_output_device=/dev/stdout
HOLD="-hold" HOLD="-hold"
else else
## Normal Mode ## Normal Mode
export INSTALLER_output_device=/dev/null export INSTALLER_output_device=/dev/null
HOLD="" HOLD=""
fi fi
#Check root #Check root
if [[ $EUID -ne 0 ]]; then if [[ $EUID -ne 0 ]]; then
echo -e "\e[1;31mYou don't have admin privilegies, execute the script as root."$transparent echo -e "\e[1;31mYou don't have admin privilegies, execute the script as root."$transparent
exit exit
fi fi
clear clear
@ -58,70 +58,70 @@ fi
function mostrarheader(){ function mostrarheader(){
conditional_clear conditional_clear
echo -e "$red[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]" echo -e "$red[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]"
echo -e "$red[ ]" echo -e "$red[ ]"
echo -e "$red[ $red FLUXION $version" "${yellow} ${red} < F""${yellow}luxion" "${red}I""${yellow}s" "${red}T""${yellow}he ""${red}F""${yellow}uture > " ${blue}" ]" echo -e "$red[ $red FLUXION $version" "${yellow} ${red} < F""${yellow}luxion" "${red}I""${yellow}s" "${red}T""${yellow}he ""${red}F""${yellow}uture > " ${blue}" ]"
echo -e "$blue[ ]" echo -e "$blue[ ]"
echo -e "$blue[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]""$transparent" echo -e "$blue[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]""$transparent"
echo echo
echo echo
} }
function setresolution { function setresolution {
function resA { function resA {
TOPLEFT="-geometry 90x13+0+0" TOPLEFT="-geometry 90x13+0+0"
TOPRIGHT="-geometry 83x26-0+0" TOPRIGHT="-geometry 83x26-0+0"
BOTTOMLEFT="-geometry 90x24+0-0" BOTTOMLEFT="-geometry 90x24+0-0"
BOTTOMRIGHT="-geometry 75x12-0-0" BOTTOMRIGHT="-geometry 75x12-0-0"
TOPLEFTBIG="-geometry 91x42+0+0" TOPLEFTBIG="-geometry 91x42+0+0"
TOPRIGHTBIG="-geometry 83x26-0+0" TOPRIGHTBIG="-geometry 83x26-0+0"
} }
function resB { function resB {
TOPLEFT="-geometry 92x14+0+0" TOPLEFT="-geometry 92x14+0+0"
TOPRIGHT="-geometry 68x25-0+0" TOPRIGHT="-geometry 68x25-0+0"
BOTTOMLEFT="-geometry 92x36+0-0" BOTTOMLEFT="-geometry 92x36+0-0"
BOTTOMRIGHT="-geometry 74x20-0-0" BOTTOMRIGHT="-geometry 74x20-0-0"
TOPLEFTBIG="-geometry 100x52+0+0" TOPLEFTBIG="-geometry 100x52+0+0"
TOPRIGHTBIG="-geometry 74x30-0+0" TOPRIGHTBIG="-geometry 74x30-0+0"
} }
function resC { function resC {
TOPLEFT="-geometry 100x20+0+0" TOPLEFT="-geometry 100x20+0+0"
TOPRIGHT="-geometry 109x20-0+0" TOPRIGHT="-geometry 109x20-0+0"
BOTTOMLEFT="-geometry 100x30+0-0" BOTTOMLEFT="-geometry 100x30+0-0"
BOTTOMRIGHT="-geometry 109x20-0-0" BOTTOMRIGHT="-geometry 109x20-0-0"
TOPLEFTBIG="-geometry 100x52+0+0" TOPLEFTBIG="-geometry 100x52+0+0"
TOPRIGHTBIG="-geometry 109x30-0+0" TOPRIGHTBIG="-geometry 109x30-0+0"
} }
function resD { function resD {
TOPLEFT="-geometry 110x35+0+0" TOPLEFT="-geometry 110x35+0+0"
TOPRIGHT="-geometry 99x40-0+0" TOPRIGHT="-geometry 99x40-0+0"
BOTTOMLEFT="-geometry 110x35+0-0" BOTTOMLEFT="-geometry 110x35+0-0"
BOTTOMRIGHT="-geometry 99x30-0-0" BOTTOMRIGHT="-geometry 99x30-0-0"
TOPLEFTBIG="-geometry 110x72+0+0" TOPLEFTBIG="-geometry 110x72+0+0"
TOPRIGHTBIG="-geometry 99x40-0+0" TOPRIGHTBIG="-geometry 99x40-0+0"
} }
function resE { function resE {
TOPLEFT="-geometry 130x43+0+0" TOPLEFT="-geometry 130x43+0+0"
TOPRIGHT="-geometry 68x25-0+0" TOPRIGHT="-geometry 68x25-0+0"
BOTTOMLEFT="-geometry 130x40+0-0" BOTTOMLEFT="-geometry 130x40+0-0"
BOTTOMRIGHT="-geometry 132x35-0-0" BOTTOMRIGHT="-geometry 132x35-0-0"
TOPLEFTBIG="-geometry 130x85+0+0" TOPLEFTBIG="-geometry 130x85+0+0"
TOPRIGHTBIG="-geometry 132x48-0+0" TOPRIGHTBIG="-geometry 132x48-0+0"
} }
function resF { function resF {
TOPLEFT="-geometry 100x17+0+0" TOPLEFT="-geometry 100x17+0+0"
TOPRIGHT="-geometry 90x27-0+0" TOPRIGHT="-geometry 90x27-0+0"
BOTTOMLEFT="-geometry 100x30+0-0" BOTTOMLEFT="-geometry 100x30+0-0"
BOTTOMRIGHT="-geometry 90x20-0-0" BOTTOMRIGHT="-geometry 90x20-0-0"
TOPLEFTBIG="-geometry 100x70+0+0" TOPLEFTBIG="-geometry 100x70+0+0"
TOPRIGHTBIG="-geometry 90x27-0+0" TOPRIGHTBIG="-geometry 90x27-0+0"
} }
detectedresolution=$(xdpyinfo | grep -A 3 "screen #0" | grep dimensions | tr -s " " | cut -d" " -f 3) detectedresolution=$(xdpyinfo | grep -A 3 "screen #0" | grep dimensions | tr -s " " | cut -d" " -f 3)
@ -131,14 +131,14 @@ detectedresolution=$(xdpyinfo | grep -A 3 "screen #0" | grep dimensions | tr -s
## D) 1280x1024 ## D) 1280x1024
## E) 1600x1200 ## E) 1600x1200
case $detectedresolution in case $detectedresolution in
"1024x600" ) resA ;; "1024x600" ) resA ;;
"1024x768" ) resB ;; "1024x768" ) resB ;;
"1280x768" ) resC ;; "1280x768" ) resC ;;
"1366x768" ) resC ;; "1366x768" ) resC ;;
"1280x1024" ) resD ;; "1280x1024" ) resD ;;
"1600x1200" ) resE ;; "1600x1200" ) resE ;;
"1366x768" ) resF ;; "1366x768" ) resF ;;
* ) resA ;; * ) resA ;;
esac esac
} }
@ -164,159 +164,150 @@ xterm $HOLD -title "Updating System" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e
############################## ##############################
echo -ne "Aircrack-ng....." echo -ne "Aircrack-ng....."
if ! hash aircrack-ng 2>/dev/null; then if ! hash aircrack-ng 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent echo -e "\e[1;31mInstalling ..."$transparent
xterm $HOLD -title "Installing Aircrack-ng" -e apt-get --yes install aircrack-ng xterm $HOLD -title "Installing Aircrack-ng" -e apt-get --yes install aircrack-ng
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Aireplay-ng....." echo -ne "Aireplay-ng....."
if ! hash awk 2>/dev/null; then if ! hash awk 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Awk" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install gawk xterm $HOLD -title "Installing Awk" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install gawk
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Airodump-ng....." echo -ne "Airodump-ng....."
if ! hash airodump-ng 2>/dev/null; then if ! hash airodump-ng 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Airodump-ng" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install aircrack-ng xterm $HOLD -title "Installing Airodump-ng" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install aircrack-ng
else else
echo -e "\e[1;32mOK!"$transparent"" echo -e "\e[1;32mOK!"$transparent""
fi fi
##############################
echo -ne "Bully..........."
if ! hash bully 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Bully" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install bully
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
############################## ##############################
echo -ne "Curl............" echo -ne "Curl............"
if ! hash curl 2>/dev/null; then if ! hash curl 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Curl" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install curl xterm $HOLD -title "Installing Curl" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install curl
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Dhcpd..........." echo -ne "Dhcpd..........."
if ! hash dhcpd 2>/dev/null; then if ! hash dhcpd 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing isc-dhcp-server" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install isc-dhcp-server xterm $HOLD -title "Installing isc-dhcp-server" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install isc-dhcp-server
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Hostapd........." echo -ne "Hostapd........."
if ! hash hostapd 2>/dev/null; then if ! hash hostapd 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Hostapd" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install hostapd xterm $HOLD -title "Installing Hostapd" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install hostapd
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Iwconfig........" echo -ne "Iwconfig........"
if ! hash iwconfig 2>/dev/null; then if ! hash iwconfig 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Iwconfig" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install iwconfig xterm $HOLD -title "Installing Iwconfig" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install iwconfig
else else
echo -e "\e[1;32mOK!"$transparent"" echo -e "\e[1;32mOK!"$transparent""
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Lighttpd........" echo -ne "Lighttpd........"
if ! hash lighttpd 2>/dev/null; then if ! hash lighttpd 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Lighttpd" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install lighttpd xterm $HOLD -title "Installing Lighttpd" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install lighttpd
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Macchanger......" echo -ne "Macchanger......"
if ! hash macchanger 2>/dev/null; then if ! hash macchanger 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Macchanger" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install macchanger xterm $HOLD -title "Installing Macchanger" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install macchanger
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Mdk3............" echo -ne "Mdk3............"
if ! hash mdk3 2>/dev/null; then if ! hash mdk3 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Macchanger" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install mdk3 xterm $HOLD -title "Installing Macchanger" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install mdk3
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Nmap............" echo -ne "Nmap............"
if ! hash nmap 2>/dev/null; then if ! hash nmap 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Nmap" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get install --yes nmap xterm $HOLD -title "Installing Nmap" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get install --yes nmap
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Openssl........." echo -ne "Openssl........."
if ! hash openssl 2>/dev/null; then if ! hash openssl 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Openssl" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install openssl xterm $HOLD -title "Installing Openssl" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install openssl
else else
echo -e "\e[1;32mOK!"$transparent"" echo -e "\e[1;32mOK!"$transparent""
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Php-cgi........." echo -ne "Php-cgi........."
if ! hash php-cgi 2>/dev/null; then if ! hash php-cgi 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing php-cgi" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install php-cgi xterm $HOLD -title "Installing php-cgi" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install php-cgi
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Pyrit..........." echo -ne "Pyrit..........."
if ! hash pyrit 2>/dev/null; then if ! hash pyrit 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Pyrit" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install pyrit xterm $HOLD -title "Installing Pyrit" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install pyrit
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Python.........." echo -ne "Python.........."
if ! hash python 2>/dev/null; then if ! hash python 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Python" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install python xterm $HOLD -title "Installing Python" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install python
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "rfkill.........." echo -ne "rfkill.........."
@ -331,23 +322,23 @@ echo -ne "rfkill.........."
############################## ##############################
echo -ne "Unzip..........." echo -ne "Unzip..........."
if ! hash unzip 2>/dev/null; then if ! hash unzip 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing unzip" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install unzip xterm $HOLD -title "Installing unzip" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install unzip
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Xterm..........." echo -ne "Xterm..........."
if ! hash xterm 2>/dev/null; then if ! hash xterm 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
apt-get install xterm apt-get install xterm
else else
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "strings........." echo -ne "strings........."
if ! hash strings 2>/dev/null; then if ! hash strings 2>/dev/null; then

1
sites Submodule

@ -0,0 +1 @@
Subproject commit ff349e7e612fdad12b41afcc37d5a34229b4c267