GithubHelp home page GithubHelp logo

isabella232 / misp-packer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from misp/misp-packer

0.0 0.0 0.0 217 KB

Build Automated Machine Images for MISP

License: GNU General Public License v3.0

Shell 100.00%

misp-packer's Introduction

Build Automated Machine Images for MISP

Build a virtual machine for MISP based on Ubuntu 18.04 server (for VirtualBox or VMWare).

Requirements

Usage

Launch the generation with the VirtualBox builder:

$./build_vbox.sh 

A VirtualBox image will be generated and stored in the folder output-virtualbox-iso.

Default credentials are displayed (Web interface, SSH and MariaDB) at the end of the process. You can directly import the image in VirtualBox.

The sha1 and sha512 checksums of the generated VM will be stored in the files packer_virtualbox-iso_virtualbox-iso_sha1.checksum and packer_virtualbox-iso_virtualbox-iso_sha512.checksum respectively.

In case you encounter a problem with the MISP_BASEURL, you can still change it when the VM is running. For example the IP address of your VM is 172.16.100.123 you can set MISP_BASEURL from your host with the command:

$ ssh [email protected] sudo -u www-data /var/www/MISP/app/Console/cake Baseurl http://172.16.100.123

If you want to build an image for VMWare you will need to install it and to use the VMWare builder with the command:

$ packer build -only=vmware-iso misp.json

You can also launch all builders in parallel.

Modules activated by default in the VM

Automatic export to GitHub

$ GITHUB_AUTH_TOKEN=<your-github-auth-token>
$ TAG=$(curl https://api.github.com/repos/MISP/MISP/releases/latest | jq  -r '.tag_name')
$ ./upload.sh github_api_token=$GITHUB_AUTH_TOKEN owner=MISP repo=MISP tag=$TAG filename=./output-virtualbox-iso/MISP_demo.ova

Upload latest release

curl -s https://api.github.com/repos/MISP/MISP/tags |jq -r '.[0] | .name'

You can add these lines in the post-processors section of the file misp.json if you want to automate the process.

misp-packer's People

Contributors

adulau avatar cedricbonhomme avatar chrisr3d avatar cudeso avatar gallypette avatar iglocska avatar rafiot avatar steveclement 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.