https://github.com/werrett/sqlmap-cookbook
Simple Chef Cookbook for Sqlmap - The "Automated SQL injection and database takeover" tool
https://github.com/werrett/sqlmap-cookbook
Last synced: about 1 year ago
JSON representation
Simple Chef Cookbook for Sqlmap - The "Automated SQL injection and database takeover" tool
- Host: GitHub
- URL: https://github.com/werrett/sqlmap-cookbook
- Owner: werrett
- License: mit
- Created: 2014-03-26T12:31:01.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-30T07:06:52.000Z (almost 12 years ago)
- Last Synced: 2025-02-16T04:43:53.630Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 148 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sqlmap Cookbook
Cookbook to download and install the latest version of [sqlmap](http://sqlmap.org/), the SQL injection and database takeover tool, from Github.
## Requirements
The following prequities are brought in by Chef.
Prerequisite cookbooks:
* [apt](https://github.com/opscode-cookbooks/apt)
Prerequisites packages (from Ubuntu's repositiories):
* git
* python
Note: Cookbook only tested under Ubuntu 14.04 LTS 64-bit.
## Usage
Instructions on how to spin up an Ubuntu install with Sqlmap using [Vagrant](http://vagrantup.com):
### Install Vagrant
Install Vagrant 1.5.x from the [Vagrant downloads page](http://www.vagrantup.com/downloads.html)
Install the [Vagrant Berkshelf plugins](https://github.com/berkshelf/vagrant-berkshelf):
```
vagrant plugin install hashie --plugin-version '2.1.1'
vagrant plugin install vagrant-berkshelf --plugin-version '>= 2.0.1'
vagrant plugin install vagrant-omnibus
```
### Pull down Chef Cookbook & run Vagrant
```
git clone https://github.com/werrett/sqlmap-cookbook.git sqlmap-vm
cd sqlmap-vm
vagrant up --provision
...
vagrant ssh
sqlmap.py --version
```
## Attributes
* directory - Where sqlmap will live.
* github.url - Github URL to clone sqlmap from.
* github.reference - Branch to clone from.
* github.clone_timeout - Cloning time out. Needs to be longish.
## Todo
* Do a recipe to install from official tarball releases.
## Author
Jonathan Werrett ()