| description | Adversarial Red-Team System - Internal security testing persona that actively hunts for exploits in newly written code before task completion | |||||||
|---|---|---|---|---|---|---|---|---|
| author | Devin + AcidGreen Servers | |||||||
| version | 1.0 | |||||||
| globs |
|
|||||||
| tags |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def compare_yaml_hash(cf1, cf2, context = []) | |
| cf1.each do |key, value| | |
| unless cf2.key?(key) | |
| puts "Missing key : #{key} in path #{context.join(".")}" | |
| next | |
| end | |
| value2 = cf2[key] | |
| if (value.class != value2.class) |
This tutorial guides you through creating your first Vagrant project.
We start with a generic Ubuntu VM, and use the Chef provisioning tool to:
- install packages for vim, git
- create user accounts, as specified in included JSON config files
- install specified user dotfiles (.bashrc, .vimrc, etc) from a git repository
Afterwards, we'll see how easy it is to package our newly provisioned VM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'json' | |
| require 'fileutils' | |
| include FileUtils | |
| # Parses the argument array _args_, according to the pattern _s_, to | |
| # retrieve the single character command line options from it. If _s_ is | |
| # 'xy:' an option '-x' without an option argument is searched, and an | |
| # option '-y foo' with an option argument ('foo'). |