sábado, 21 de julio de 2007

Mi Lista de Repos!

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://cl.archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src http://cl.archive.ubuntu.com/ubuntu/ feisty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cl.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
deb-src http://cl.archive.ubuntu.com/ubuntu/ feisty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://cl.archive.ubuntu.com/ubuntu/ feisty universe
deb-src http://cl.archive.ubuntu.com/ubuntu/ feisty universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cl.archive.ubuntu.com/ubuntu/ feisty multiverse
deb-src http://cl.archive.ubuntu.com/ubuntu/ feisty multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cl.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://cl.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu feisty-security main restricted
deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
deb http://security.ubuntu.com/ubuntu feisty-security universe
deb-src http://security.ubuntu.com/ubuntu feisty-security universe
deb http://security.ubuntu.com/ubuntu feisty-security multiverse
deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse

#AUTOMATIX REPOS START

deb http://wine.lowvoice.nl/apt feisty main

deb http://www.getautomatix.com/apt feisty main

deb http://archive.canonical.com/ubuntu feisty-commercial main

deb http://archive.ubuntu.com/ubuntu feisty-updates universe multiverse

deb http://archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
#AUTOMATIX REPOS END

Opciones del Metasploit

y sigamos dandole al metasploit. Ahora vienen las opciones:

Metasploit Framework Exploit Console Help
======================================

? ----------> Muestra la Ayuda
back ------> Regresa al menu principal
cd ---------> Cambia el directorio de trabajo
check -----> Comprueba la vunerabilidad
exit -------> Salida
exploit ---> Ejecuta el actual exploit
help -----> Muestra la Ayuda
info ------> Muestra info. Detallada del exploit o el payload
quit ------> Salida
rcheck ---> Comprueba la vulnerabilidad
reload ---> Recarga los exploits y payloads
rexploit -> Recarga el exploit, para testear
save -----> Guarda la configuracion
set -------> Setea la variable temporal de entorno
setg ------> Setea la variable global de entorno
show -----> Muestra las opciones, avanzados, payloads u objetivos
unset -----> Quita la variable temporal de entorno
unsetg ----> Quita la variable global de entorno
use --------> Selecciona un exploit por nombre
version ---> Muestra la version de la consola

Instalando Metasploit

Hola!... bueno, hace poco tiempo instale y ejecute el metasploit framework, es bastante útil, se los recomiendo. Para aquellos que lo quieran instalar, pero no saben como, aqui les va mi script para instalar (en ubuntu) todas las librerias y archivos necesarios para la correcta ejecución del metasploit

Como root ejecuten el siguiente bash script:

# metasploit.sh por Zodiac
# descargar metasploit desde
# http://www.metasploit.com/projects/Framework/downloads.html
# descomprimir con tar xvfz framework-2.7.tar.gz
# luego, cd framework-2.7

apt-get install ruby libruby rdoc
apt-get install libyaml-ruby
apt-get install libzlib-ruby
apt-get install libopenssl-ruby
apt-get install libdl-ruby
apt-get install libreadline-ruby
apt-get install libiconv-ruby
apt-get install gem
apt-get install rubygems
gem install -v=1.2.2 rails
apt-get install libgtk2-ruby libglade2-ruby
./msfconsole


ByteZ