Skip to content

Commit

Permalink
v2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
v1s1t0r1sh3r3 committed Mar 22, 2016
1 parent 7d78b15 commit ba8a005
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 42 deletions.
39 changes: 2 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#airgeddon
Version 2.03<br>
Version 2.1<br>
This is a DoS (Denial of Service) bash script for wireless networks.<br>

#Requirements
Expand All @@ -22,39 +22,4 @@ You can join the project:<br>
-New features<br>

#Changelog
1.0<br>
Initial commit<br>
<br>
1.01<br>
Detect distro functionality included<br>
Kali and Wifislax Linux compatibility<br>
Rfkill added<br>
<br>
1.02<br>
Improved echo messages and colors<br>
aireplay deauth attack included<br>
monitor and managed options added<br>
<br>
1.03<br>
Secondary xterm windows added<br>
Explore neighbourhood feature included<br>
Code improvements<br>
<br>
2.0<br>
Code restructuration<br>
WIDS confusion attack added<br>
Old attacks menu included<br>
Traps managing feature<br>
<br>
2.01<br>
Multilanguage support feature included<br>
English and Spanish languages added<br>
<br>
2.02<br>
Menu titles improvement<br>
Converted to UTF-8 enconding. Special spanish chars bug fixed<br>
Some minor code improvements<br>
<br>
2.03<br>
Interface detection method changed<br>
Fixed bug for Kali 2016.1<br>
See <a href="https://github.com/v1s1t0r1sh3r3/airgeddon/blob/master/changelog.txt">Changelog</a> file to review changes.<br>
69 changes: 64 additions & 5 deletions airgeddon.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

version="2.03"
version="2.1"

#Change these lines to select another default language
language="english"
Expand All @@ -9,6 +9,7 @@ language="english"
#General vars
urlgithub="https://github.com/v1s1t0r1sh3r3/airgeddon"
mail="[email protected]"
tools=(iwconfig awk rfkill airmon-ng airodump-ng aireplay-ng mdk3)

function language_strings() {

Expand All @@ -28,17 +29,17 @@ function language_strings() {
arr["english",4]="Wifislax Linux distro detected. Script can continue..."
arr["spanish",4]="Distro Wifislax Linux detectada. El script puede continuar..."

arr["english",5]="No compatible distro detected"
arr["spanish",5]="No se ha detectado una distro compatible"
arr["english",5]="A distro 100% compatible can't be detected"
arr["spanish",5]="No se ha podido detectar una distro 100& compatible"

arr["english",6]="Welcome to airgeddon script v$version"
arr["spanish",6]="Bienvenido al airgeddon script v$version"

arr["english",7]="This script is only for educational purposes. Be good boyz&girlz"
arr["spanish",7]="Este script se ha hecho sólo con fines educativos. Sed buen@s chic@s"

arr["english",8]="Supported distros for this script: Kali and Wifislax"
arr["spanish",8]="Distros soportadas por este script: Kali y Wifislax"
arr["english",8]="Known supported 100% compatible distros for this script: Kali and Wifislax"
arr["spanish",8]="Distros conocidas 100% soportadas por este script: Kali y Wifislax"

arr["english",9]="Detecting distro..."
arr["spanish",9]="Detectando distro..."
Expand Down Expand Up @@ -337,6 +338,18 @@ function language_strings() {
arr["english",107]="Join the project at $urlgithub"
arr["spanish",107]="Únete al proyecto en $urlgithub"

arr["english",108]="Let's check if you have installed what script needs"
arr["spanish",108]="Vamos a chequear si tienes instalado lo que el script usa"

arr["english",109]="Checking..."
arr["spanish",109]="Chequeando..."

arr["english",110]="Your distro is compatible. Script can continue..."
arr["spanish",110]="Tu distro es compatible. El script puede continuar..."

arr["english",111]="You need to install some tools before running this script"
arr["spanish",111]="Necesitas instalar algunas herramientas antes de lanzar este script"

case "$3" in
"yellow")
echo_yellow "${arr[$1,$2]}"
Expand Down Expand Up @@ -1279,13 +1292,15 @@ function exit_script_option() {

function detect_distro() {

compatible=0
uname -a | grep kali > /dev/null
if [ "$?" = "0" ]; then
language_strings $language 2 "yellow"
distro="Kali"
distro_language="english"
if [ "$distro_language" != "$language" ]; then
echo
compatible=1
language=$distro_language
language_strings $language 3 "yellow"
fi
Expand All @@ -1300,6 +1315,7 @@ function detect_distro() {
distro_language="spanish"
if [ "$distro_language" != "$language" ]; then
echo
compatible=1
language=$distro_language
language_strings $language 3 "yellow"
fi
Expand All @@ -1308,9 +1324,52 @@ function detect_distro() {
fi

language_strings $language 5 "yellow"
echo
language_strings $language 108 "yellow"

check_compatibility
if [ $compatible -eq 1 ]; then
return
fi

do_read
exit_script_option
}

function check_compatibility() {

do_read
echo
language_strings $language 109 "blue"
toolsok=1
toolstext=""

for i in "${tools[@]}"; do
echo -ne "$i "
for j in {0..4}; do
echo -ne "."
sleep 0.035
done
if ! hash $i 2> /dev/null; then
echo -e " Error\r"
toolsok=0
else
echo -e " Ok\r"
fi
done

if [ $toolsok -eq 0 ]; then
echo
language_strings $language 111 "yellow"
echo
return
fi

language_strings $language 110 "yellow"
echo
compatible=1
}

function welcome() {

clear
Expand Down
40 changes: 40 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
1.0
Initial commit

1.01
Detect distro functionality included
Kali and Wifislax Linux compatibility
Rfkill added

1.02
Improved echo messages and colors
aireplay deauth attack included
monitor and managed options added

1.03
Secondary xterm windows added
Explore neighbourhood feature included
Code improvements

2.0
Code restructuration
WIDS confusion attack added
Old attacks menu included
Traps managing feature

2.01
Multilanguage support feature included
English and Spanish languages added

2.02
Menu titles improvement<br
Converted to UTF-8 enconding. Special spanish chars bug fixed
Some minor code improvements

2.03
Interface detection method changed
Fixed bug for Kali 2016.1

2.1
Compatibility check at beginning to support more distros
Changelog file added to project

0 comments on commit ba8a005

Please sign in to comment.