elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Únete al Grupo Steam elhacker.NET


+  Foro de elhacker.net
|-+  Seguridad Informática
| |-+  Hacking (Moderador: toxeek)
| | |-+  BD para Metasploit
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: BD para Metasploit  (Leído 4,426 veces)
jonny76

Desconectado Desconectado

Mensajes: 10


Ver Perfil
BD para Metasploit
« en: 6 Marzo 2012, 01:13 am »

Hola a todos, os cuento un poco:

Despues de bastante tiempo haciendo pruebas y encontrandome solo con problemas en metasploit linux (concretamente instalado en Ubunto y el de backtrack 4) decidi probar el metasploit desde windows, pero por mas que busco por internet, no consigo averiguar como se le añade una base de datos.
Concretamente lo necesito para:
db_nmap -n -sT -sV -PN -v 192.168.1.89

y despues:
db_autopwn  -t -e -p -x   (el cual me dice que el comando no existe)


Avisaros de que db_create loquesea tampoco existe, y segun help solo puedo usar esto:

Core Commands
=============

    Command       Description
    -------       -----------
    ?             Help menu
    back          Move back from the current context
    banner        Display an awesome metasploit banner
    cd            Change the current working directory
    color         Toggle color
    connect       Communicate with a host
    exit          Exit the console
    help          Help menu
    info          Displays information about one or more module
    irb           Drop into irb scripting mode
    jobs          Displays and manages jobs
    kill          Kill a job
    load          Load a framework plugin
    loadpath      Searches for and loads modules from a path
    makerc        Save commands entered since start to a file
    popm          Pops the latest module off of the module stack and makes it active
    previous      Sets the previously loaded module as the current module
    pushm         Pushes the active or list of modules onto the module stack
    quit          Exit the console
    reload_all    Reloads all modules from all defined module paths
    resource      Run the commands stored in a file
    route         Route traffic through a session
    save          Saves the active datastores
    search        Searches module names and descriptions
    sessions      Dump session listings and display information about sessions
    set           Sets a variable to a value
    setg          Sets a global variable to a value
    show          Displays modules of a given type, or all modules
    sleep         Do nothing for the specified number of seconds
    spool         Write console output into a file as well the screen
    threads       View and manipulate background threads
    unload        Unload a framework plugin
    unset         Unsets one or more variables
    unsetg        Unsets one or more global variables
    use           Selects a module by name
    version       Show the framework and console library version numbers


Database Backend Commands
=========================

    Command        Description
    -------        -----------
    creds          List all credentials in the database
    db_connect     Connect to an existing database
    db_disconnect  Disconnect from the current database instance
    db_export      Export a file containing the contents of the database
    db_import      Import a scan result file (filetype will be auto-detected)
    db_nmap        Executes nmap and records the output automatically
    db_status      Show the current database status
    hosts          List all hosts in the database
    loot           List all loot in the database
    notes          List all notes in the database
    services       List all services in the database
    vulns          List all vulnerabilities in the database
    workspace      Switch between database workspaces




Por lo que deduzco que primero hay que crear una.


Posiblemente tengo un cacao mental que no puedo con el, a ver si me podeis hechar una mano.
En línea

jonny76

Desconectado Desconectado

Mensajes: 10


Ver Perfil
Re: BD para Metasploit
« Respuesta #1 en: 6 Marzo 2012, 02:19 am »

Bueno, ya he conseguido crear y conectar con la base de datos, pero sigo sin poder usar
db_autopwn  -t -e -p -x   por lo que no puedo automatizar el proceso, las opciones son las mismas que puse en mi mensaje anterior. Que es lo que falla?
Si alguien me echa una mano le estaria agradecido.
Saludos
En línea

adastra
Endless Learner
Ex-Staff
*
Desconectado Desconectado

Mensajes: 885


http://thehackerway.com/


Ver Perfil WWW
Re: BD para Metasploit
« Respuesta #2 en: 12 Marzo 2012, 11:57 am »

ejecutas msfupdate o svn up desde el directorio de MSF.
En la versión 4 se encuentra nuevamente disponible en el repositorio, debes actualizar tu versión.
En línea

usua_ria

Desconectado Desconectado

Mensajes: 5



Ver Perfil
Re: BD para Metasploit
« Respuesta #3 en: 15 Marzo 2012, 13:24 pm »

***********************************************
******* Performing dependency checks... *******

 *****************************************************************
 **                                                             **
 **  Fast-Track - A new beginning...                            **
 **  Version: 4.0.2                                             **
 **  Written by: David Kennedy (ReL1K)                          **
 **  Lead Developer: Joey Furr (j0fer)                          **
 **  http://www.secmaniac.com                                   **
 **                                                             **
 *****************************************************************

Fast-Track Main Menu:

    1.  Fast-Track Updates
    2.  Autopwn Automation
    3.  Nmap Scripting Engine
    4.  Microsoft SQL Tools
    5.  Mass Client-Side Attack
    6.  Exploits
    7.  Binary to Hex Payload Converter
    8.  Payload Generator
    9.  Fast-Track Tutorials
    10. Fast-Track Changelog
    11. Fast-Track Credits
    12. Exit Fast-Track

    Enter the number: 2

Enter the IP ranges to autopwn or (q)uit FastTrack: -PN ip    




« Última modificación: 15 Marzo 2012, 13:29 pm por usua_ria » En línea

miguelskk

Desconectado Desconectado

Mensajes: 120



Ver Perfil
Re: BD para Metasploit
« Respuesta #4 en: 7 Abril 2012, 16:36 pm »

db_autopwn ya no tiene soporte en metasploit. Busca sobre ello en google hay tutoriales para reactivarlo aunque sinceramente, si haces un buen fingerprinting y realmente tienes intencion de pentestear o juankear el sistema en condiciones, autopwn va demasiado a lo gordo y a lo bestia, no te lo recomiendo.
En línea

Ellos levantan muros y vallas por todas partes, nosotros respondemos escribiendo nuestros nombres, ellos se cabrean y dicen que eso no es arte.
Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
[Metasploit] Usar Keylogger del Metasploit
Hacking
Shell Root 5 17,403 Último mensaje 23 Abril 2011, 20:59 pm
por Edu
metasploit para vista « 1 2 3 4 »
Hacking
beholdthe 34 22,770 Último mensaje 23 Febrero 2010, 18:58 pm
por Shell Root
en busca de ejrcicios para metasploit
Hacking
Paul Young 4 4,952 Último mensaje 16 Enero 2011, 06:20 am
por Paul Young
Script para metasploit y postgresql
Scripting
chulas2106 0 1,698 Último mensaje 13 Enero 2015, 13:27 pm
por chulas2106
Que puertos recomiendan para Metasploit
Scripting
chulas2106 1 2,466 Último mensaje 12 Marzo 2015, 04:42 am
por engel lex
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines