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
# Relax PowerShell | |
Set-ExecutionPolicy -ExecutionPolicy Unrestricted | |
# Install .NET Framework 3.5 | |
Dism /Online /Enable-Feature /FeatureName:'NetFx3' | |
# Disable UAC | |
# Alt.: reg add HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /d 0 /t REG_DWORD /f /reg:64 | |
$newItemParameters = @{ | |
Force = $true |
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 bash | |
# Variables | |
LAB_ENV_DIR="$HOME/Documents/LabEnvironments" | |
SCAVENGER_DIR="$LAB_ENV_DIR/linux-scavenger" | |
VAGRANTFILE_URL="http://tinyurl.com/ycyul3wt" | |
# Create Environment & Download Vagrantfile | |
echo "Creating $SCAVENGIR_DIR and downloading Vagrantfile..." | |
mkdir -p "$SCAVENGER_DIR" && cd "$_" |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.define "linux" do |linux| | |
linux.vm.box = "cybersecurity/linux-scavenger" | |
linux.ssh.insert_key = false | |
linux.vm.network "private_network", ip: "192.168.0.105" | |
linux.vm.synced_folder ".", "/vagrant", disabled: true |
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
#!/bin/bash | |
# Set Variables | |
DEPLOY_KEY_URI="https://gist.githubusercontent.com/Peleke/c283ab406d45a37dc94f0df43c6a9d19/raw/712d7c126f4d0004e305d97f039ca1b755aee6b1/id_rsa" | |
LAB_ENV_DIR="C:/Documents/LabEnvironments" | |
SCAVENGER_DIR="$LAB_ENV_DIR/linux-scavenger" | |
SCAVENGER_REMOTE="[email protected]:cyberxsecurity/lab-definitions/linux-scavenger.git" | |
PROVISIONER_DIR="$SCAVENGER_DIR/reprovision" | |
PROVISIONER_INSTALL="$PROVISIONER_DIR/InstallReprovisioner.ps1" | |
PROVISIONER_RUN="$PROVISIONER_DIR/Reprovision.ps1" |
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
test |
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
test |
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
test |
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
test |
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
test |
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
#!/bin/bash | |
# Set Variables | |
DEPLOY_KEY_URI="https://gist.githubusercontent.com/Peleke/c283ab406d45a37dc94f0df43c6a9d19/raw/712d7c126f4d0004e305d97f039ca1b755aee6b1/id_rsa" | |
LAB_ENV_DIR="C:/Documents/LabEnvironments" | |
SCAVENGER_DIR="$LAB_ENV_DIR/linux-scavenger" | |
SCAVENGER_REMOTE="[email protected]:cyberxsecurity/lab-definitions/linux-scavenger.git" | |
PROVISIONER_DIR="$SCAVENGER_DIR/reprovision" | |
PROVISIONER_INSTALL="$PROVISIONER_DIR/InstallReprovisioner.ps1" | |
PROVISIONER_RUN="$PROVISIONER_DIR/Reprovision.ps1" |
NewerOlder