Todas las entradas de: Hwagm

Orgulloso de poder contar con las mejores personas que hay en al red en el foro de seguridadwireless.net

script para auto-update aircrack-ng

Code:
#!/bin/bash

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 http://nightly.aircrack-ng.org/aircrack-ng/trunk/ /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 http://nightly.aircrack-ng.org/aircrack-ng/trunk/aircrack-$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
make
echo "Instalando en el sistema...."
sleep 2
make install
clear

#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.
Download:
SliTaz screenshot #7