script para auto-update aircrack-ng


echo "          Bienvenido al auto-actualizador para la suite aircrack-ng"
echo ""
echo "        [Este script requiere internet para la descarga de aircrack-ng]"
sleep 5

cd /tmp
wget -c /tmp
latest_version=`grep tar.gz index.html | tail -n1 | cut -d- -f2- | cut -d '"' -f1`
echo "La Version mas reciente es...  aircrack-$latest_version"
sleep 5
echo "Descargando la ultima version de la suite aircrack-ng... "
wget -c$latest_version
echo "Descomprimiendo...."
tar -xf aircrack-$latest_version
sleep 2

#encontrar directorio de extraccion
echo "Compilando paquete aircrack-ng...."
paquete=$(basename aircrack-$latest_version .tar.gz)
cd $paquete
sleep 2
echo "Instalando en el sistema...."
sleep 2
make install

#limpiando temporales
echo "Borrando archivos temporales....."
sleep 1
echo "Eliminando index.html..."
sleep 1
rm /tmp/index.html
echo "Eliminando paquete descargado...."
sleep 1
rm /tmp/aircrack-$latest_version
echo "Eliminando directorio de compilacion...."
sleep 1
rm -r /tmp/$paquete

echo "   "
echo "                        *******************************"
echo "                        | La instalacion a finalizado |  "
echo "                        *******************************  "
echo "   "

SliTaz GNU/Linux

SliTaz is an open source and free operating system providing a fully featured desktop or server in less than 35 MB. SliTaz is simple to use, fast and stable. We have an active community and contributors from all over the world making SliTaz finer every day.

SliTaz screenshot #7