correct translation

This commit is contained in:
strasharo 2016-03-23 01:50:25 +02:00
parent 5db01fa4af
commit 22c05646b0
1 changed files with 9 additions and 12 deletions

21
fluxion
View File

@ -12,8 +12,8 @@ if [[ $EUID -ne 0 ]]; then
fi fi
clear clear
##################################### < CONFIGURATION > #####################################
##################################### < CONFIGURATION > #####################################
DUMP_PATH="/tmp/TMPflux" DUMP_PATH="/tmp/TMPflux"
HANDSHAKE_PATH="/root/handshakes" HANDSHAKE_PATH="/root/handshakes"
PASSLOG_PATH="/root/pwlog" PASSLOG_PATH="/root/pwlog"
@ -24,7 +24,7 @@ version=0.19
IP=192.168.1.1 IP=192.168.1.1
RANG_IP=$(echo $IP | cut -d "." -f 1,2,3) RANG_IP=$(echo $IP | cut -d "." -f 1,2,3)
#Colores #Colors
white="\033[1;37m" white="\033[1;37m"
grey="\033[0;37m" grey="\033[0;37m"
purple="\033[0;35m" purple="\033[0;35m"
@ -56,6 +56,7 @@ function airmon {
chmod +x airmon chmod +x airmon
} }
airmon airmon
# Check Updates # Check Updates
function checkupdatess { function checkupdatess {
@ -85,19 +86,15 @@ function spinner {
} }
# ERROR Report only in Developer Mode # ERROR Report only in Developer Mode
# FLUXION = Developer Mode
# Fluxass = Normal Mode
if [ "$FLUX_DEBUG" = "1" ]; then
trap 'err_report $FLUXION' ERR
fi
# ERROR Report Normale Mode
function err_report { function err_report {
echo "Error en la fluxass $1" echo "Error on line $1"
} }
if [ "$FLUX_DEBUG" = "1" ]; then
trap 'err_report $LINENUM' ERR
fi
#If the script exits unexpectedly #Function to executed in case of unexpected termination
trap exitmode SIGINT SIGHUP trap exitmode SIGINT SIGHUP
# KILL ALL # KILL ALL
@ -267,7 +264,7 @@ function mostrarheader(){
} }
##################################### < CONFIGURACION > ##################################### ##################################### < END OF CONFIGURATION SECTION > #####################################