Results 1 to 4 of 4

Thread: Purge Postgres database with Metasploit with framwork 4.2.0-dev.14161

  1. #1
    Just burned his ISO
    Join Date
    Sep 2011
    Posts
    2

    Question Purge Postgres database with Metasploit with framwork 4.2.0-dev.14161

    Hi,

    Is there any way to purge the Postgres database in msfconsole (Metasploit) in version 4.2.0-dev.14161. Older MSF:s versions has command for that, but not anymore?
    The only solution I found was to fire up Armitage and clear the DB from the menu. There must be a better way for purgeing the DB???

    Best

    // SA

  2. #2
    Good friend of the forums scottm99's Avatar
    Join Date
    Feb 2010
    Location
    underwater
    Posts
    371

    Default Re: Purge Postgres database with Metasploit with framwork 4.2.0-dev.14161

    Try "hosts -d" at the msf prompt. That should clear all the tables out. You could also connect to the postgres database as user msf, and clear the tables using SQL delete statements. Have a look at /opt/framework/config/database.yml for connection info.
    If I could figure out how to scuba dive & hack at the same time, there would be nothing I couldn't do...

  3. #3
    Just burned his ISO
    Join Date
    Sep 2011
    Posts
    2

    Default Re: Purge Postgres database with Metasploit with framwork 4.2.0-dev.14161

    Hi scottm99,

    Thanks for your help, "host -d" works fine.

  4. #4
    Good friend of the forums scottm99's Avatar
    Join Date
    Feb 2010
    Location
    underwater
    Posts
    371

    Default Re: Purge Postgres database with Metasploit with framwork 4.2.0-dev.14161

    No problem Metasploit is a full-featured package. Just append a -h to any command to get help.
    If I could figure out how to scuba dive & hack at the same time, there would be nothing I couldn't do...

Similar Threads

  1. Metasploit export database - insert into mysql
    By kagemusha in forum BackTrack 5 General Topics
    Replies: 7
    Last Post: 12-12-2011, 01:28 AM
  2. New Fix database [ metasploit ] :)
    By RoOoMaAaNcE in forum BackTrack 5 Fixes
    Replies: 1
    Last Post: 09-28-2011, 03:52 PM
  3. Metasploit Database Problems
    By xtjacob in forum Beginners Forum
    Replies: 2
    Last Post: 06-08-2010, 11:50 AM
  4. Metasploit Opcode Database down?
    By jorgan in forum OLD General IT Discussion
    Replies: 7
    Last Post: 04-17-2008, 11:22 PM
  5. Metasploit Auto-Exploitation (ruby postgres plugin)
    By tothakosh in forum OLD Newbie Area
    Replies: 1
    Last Post: 10-15-2007, 03:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •