https://github.com/werrett/metasploit-cookbook
Chef Cookbook for Metasploit
https://github.com/werrett/metasploit-cookbook
Last synced: about 1 year ago
JSON representation
Chef Cookbook for Metasploit
- Host: GitHub
- URL: https://github.com/werrett/metasploit-cookbook
- Owner: werrett
- License: mit
- Created: 2014-03-23T15:17:31.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-08T04:47:21.000Z (almost 12 years ago)
- Last Synced: 2025-02-16T04:43:53.340Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 152 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Metasploit Cookbook
Cookbook to download and install the latest version of
[Metasploit](http://www.metasploit.com/) from Github. Based off
[Rapid7's notes](https://github.com/rapid7/metasploit-framework/wiki/Setting-Up-a-Metasploit-Development-Environment).
# Requirements
The following cookbooks are prerequisites:
* apt
* ruby_build
* [rbenv](http://github.com/fnichol/chef-rbenv)
And it will pull in the following `apt` packages (don't blame me, blame Metasploit):
* autoconf
* bison
* curl
* git-core
* libapr1
* libaprutil1
* libcurl4-openssl-dev
* libpcap-dev
* libpq-dev
* libreadline6-dev
* libssl-dev
* libsvn1
* libtool
* libxml2
* libxml2-dev
* libxslt-dev
* libyaml-dev
* locate
* ncurses-dev
* openssl
* postgresql
* postgresql-contrib
* wget
* zlib1g
* zlib1g-dev
Note: Only tested under Ubuntu 12.04 LTS 64-bit.
# Usage
To spin up an Ubuntu install using [Vagrant](http://vagrantup.com):
```
git clone https://github.com/werrett/metasploit-cookbook.git metasploit-vm
cd metasploit-vm
vagrant up --provision
...
vagrant ssh
msfconsole -v
msfconsole
```
# Attributes
* directory - Where Metasploit will live.
* url - Github URL to clone Metasploit from.
* reference - Branch to clone from.
* clone_timeout - Cloning time out. Needs to be longish.
# Todo
* A separate recipe that installs from a tarball. Pulling from Github is slow.
# Author
Jonathan Werrett ()