Git Product home page Git Product logo

ansible-pentest-deploy's Introduction

Pentest Tools Deployer with Ansible

Using Ansible as an orchestrator, this project is another solution for testers looking to configure and deploy a new VM or VPS box with the tools that they need for penetration testing.

Current solutions I've seen involve either a crazy amount of custom Bash/Shell scripting that is buggy or reliance on a home-grown deployment framework which is also buggy and not often updated. Ansible is an extremely flexible orchestration framework used for all kinds of devops projects. It's also an actively maintained project, which is critical when relying on it to deploy servers in many different environments.

Assumptions

A few assumptions are made with this particular iteration of the Ansible playbook:

  • The target systems are Debian 7.x or greater (support for multiple OSes to follow later)
  • Ansible is installed on the host deploying the Ansible playbook (see below for installation steps)
  • This assumes root + public key authentication access to the target host(s) is feasible
  • Python 2.x is installed on the target host(s)
  • group_vars/all is filled in with a username and linux password hash for the password value

Installation and Usage

On the deployment host, Ansible needs to be installed and two Ansible roles must be installed via ansible-galaxy:

> pip install ansible
> ansible-galaxy install rvm_io.ruby naftulikay.go-dev

Designate a file to house one or many target host IP addresses, formatted like so:

[c2]
10.0.0.15
10.0.0.20

Run the Ansible playbook:

> ansible-playbook -i hosts site.yml

Releases

v1.0

TODO

There are quite a few things that can be done with the project at this initial stage. The main ideas I have are:

  • Support more tools
  • Symlink installed tools to /usr/bin or /usr/local/bin so they can be called anywhere
  • Group tools into their own sub-roles within the current Ansible playbook structure
  • A lot more

ansible-pentest-deploy's People

Contributors

stevecoward avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.