Quantcast
Channel: Carnal0wnage & Attack Research Blog
Viewing all articles
Browse latest Browse all 163

Exporting workspaces from your MSF database

$
0
0
Quick and dirty hack to export all your findings/host/services/etc and creds from your metasploit database

Normally you'd do this with a:

workspace myworkspace
db_export -f xml -a /path/to/file.xml
db_export -f pwdump -a /path/to/file.pwdump

This can be tedious if you want to spin down an instance with tons of workspaces on it.  So I wrote a quick resource script to get it done.  This takes a list of workspaces. I'm sure you can programmatically retrieve the workspaces but I didn't.  Code below:






Viewing all articles
Browse latest Browse all 163

Trending Articles