Skip to content

Packer templates for building BlackArch vagrant images

License

Notifications You must be signed in to change notification settings

ph20/packer-blackarch

Repository files navigation

Packer BlackArch

Packer templates for building BlackArch vagrant images. BlackArch Linux is an Arch Linux -based penetration testing distribution for penetration testers and security researchers.

Building results on Vagrant Cloud

Usage

# creating vagrant directory if needed
mkdir vagrant-blackarch
cd vagrant-blackarch
# initial vagrant file
vagrant init ph20/blackarch-common-x86_64
# customise Vagrantfile if needed
# start vagrant instance
vagrant up
# connect to balckarch machine
vagrant ssh

Building

git clone https://github.com/ph20/packer-blackarch.git
cd packer-blackarch
# install all needed requirements regarding your linux distro
rake build

See all available tasks

# rake -T                                                                                                                                                                                                      ─╯
rake build               # Build all
rake build:common        # Build common
rake build:core          # Build core
rake build:full          # Build full
rake check               # check all requirements
rake check:free_space    # Check needed free space for building
rake check:packer        # Check present packer-io
rake check:python        # Check present python2 interpreter
rake check:vagrant       # Check present vagrant
rake clean               # Remove any temporary products / Clean builds
rake clobber             # Remove any generated files
rake generate_variables  # Generating variables

There avalible three build types

  • rake build:core - core image without pentest utils but with all needed for fast install any util;
  • rake build:common - image with common used utils (nmap, nikto, etc..);
  • rake build:full - all avaliable BlackArch tools;

Resources used to create this:

Technology stack

Other: Oracle VM VirtualBox, Python, GNU Bash

About

Packer templates for building BlackArch vagrant images

Resources

License

Stars

Watchers

Forks

Packages

No packages published