-
Notifications
You must be signed in to change notification settings - Fork 319
Getting started with SecGen
Clone the repository
Install the dependencies
Run Bundler
Running SecGen
More information
The most active repository for SecGen development is here at github.com/cliffe/secgen and can be downloaded with:
git clone https://github.com/cliffe/secgen
SecGen requires the following pieces of software to run:
Ruby: https://www.ruby-lang.org/en/ Vagrant: http://www.vagrantup.com/ VirtualBox: https://www.virtualbox.org/ Nokogiri: http://nokogiri.org/tutorials/installing_nokogiri.html Puppet: http://puppet.com/
Example of an install on ubuntu:
sudo apt-get install ruby-dev zlib1g-dev liblzma-dev build-essential patch vagrant virtualbox
Some of the dependencies can be installed using ruby's bundler, a gem / version management tool. A full list of the ruby dependencies can be found in the Gemfile
gem install bundle
bundle install
When all software prerequisites have been installed you can run SecGen with the following command:
ruby secgen.rb run
This will run SecGen with the default scenario and will generate a randomised virtual machine.
For more information on using SecGen and its arguments visit the page Command line arguments. Or for information on how to generate new and custom scenarios please visit the page SecGen scenarios.