- Overview
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Install the sqlmap SQL injection tool from its Github repo into the system path, ready for use.
This is a simple module. In its most basic form, to accept defaults simply do:
include sqlmapFor extra control, you can set these parameters.
installdiris the path to clone the git repo on local filesystemsourceis the URL of the git repo that contains the sqlmap projectpathis the bin path where the script will be symlinkedrevisionis the version of code to clone. Defaults toHEADbut you can specify a tag or commit. See vsrepo docs for full info
This example shows the default value of the parameters.
class { 'sqlmap':
installdir => '/usr/share/sqlmap',
source => 'https://github.com/sqlmapproject/sqlmap.git',
path => '/usr/local/bin',
revision => 'HEAD',
}Should work on pretty much any Linux/Unix system that supports git. Obviously
it will need an internet connection to clone the repo (but you can fork the
sqlmap project in a local repo and set $source to point at that)
Pull requests welcome to add features or fix bugs.