Skip to content

Instantly share code, notes, and snippets.

View fitorec's full-sized avatar
🏠
Working from home

Miguel Angel fitorec

🏠
Working from home
View GitHub Profile
@fitorec
fitorec / .gitignore
Created September 9, 2011 23:07 — forked from r00tw33d/aire.sh
Auditoría de Wifi por Gib
#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
*~
#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.
@fitorec
fitorec / 2wireHosts.py
Created December 29, 2009 22:49 — forked from gnuget/2wireHosts.py
se conecta el router 2wire para ver los hosts en que están conectados, útil para detectar intrusos
#! /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()