June 2018
Beginner
578 pages
13h 39m
English
We are going to be launching two Vagrant boxes for this chapter, the first of which we will be using to install the scanning tools. This host will have Docker installed, and we will be using the Docker Ansible modules to interact with the software. The second box will contain or host the WordPress installation, which will be targeted by the scanning tools.
Create a Vagrantfile with the following content:
# -*- mode: ruby -*-# vi: set ft=ruby :API_VERSION = "2"BOX_NAME = "centos/7"BOX_IP_SCAN = "10.20.30.40"BOX_IP_WP = "10.20.30.41"DOMAIN = "nip.io"PRIVATE_KEY = "~/.ssh/id_rsa"PUBLIC_KEY = '~/.ssh/id_rsa.pub'
Vagrant.configure(API_VERSION) do |config| config.vm.define :scan do |scan| scan.vm.box = BOX_NAME scan.vm.network ...
Read now
Unlock full access