Título: BD para Metasploit Publicado por: jonny76 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. Título: Re: BD para Metasploit Publicado por: jonny76 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 Título: Re: BD para Metasploit Publicado por: adastra 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. Título: Re: BD para Metasploit Publicado por: usua_ria 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 Título: Re: BD para Metasploit Publicado por: miguelskk 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
|