This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ignorando el archivo de informacion dnd almacenamos la info | |
.info | |
.target | |
#Eliminando archivos temporales | |
aire-tmp-01.cap | |
aire-tmp-01.csv | |
aire-tmp-01.kismet.csv | |
aire-tmp-01.kismet.netxml | |
#Quitando los archivos temporales que me genera el VIM | |
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#numero aleatorio | |
echo $RANDOM | |
#numero aleatorio [1-15] | |
echo $[ ($RANDOM % 15) + 1 ] | |
#numero aleatorio [15 - 25] | |
echo $[ ($RANDOM % 10) + 15 ] | |
#Si en gral los números aleatorios los podemos ocupar para varias cosas. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
#Autor: gnuget (David Valdez) | |
#http://fitorec.wordpress.com/2009/12/18/deteccion-de-intrusos-en-nuestra-wi-fi/ | |
import urllib2 | |
import re | |
opener = urllib2.Request('http://home/',None,{}) | |
response = urllib2.urlopen(opener) | |
response = response.read() |