Skip to content

Instantly share code, notes, and snippets.

@Wingless-Archangel
Created May 31, 2020 02:41
Show Gist options
  • Save Wingless-Archangel/5044dfafa74f18a6449b4bb7d9a7a7b3 to your computer and use it in GitHub Desktop.
Save Wingless-Archangel/5044dfafa74f18a6449b4bb7d9a7a7b3 to your computer and use it in GitHub Desktop.
Vagrant with windows 10 trial from Microsoft with some analysis tool installation with Chocolatey
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
# Every Vagrant development environment requires a box. You can search for
# boxes at https://vagrantcloud.com/search.
config.vm.box = "nataoh/windows-10"
config.vm.box_version = "1.0.0"
config.vm.guest = :windows
config.vm.communicator = :winrm
config.winrm.username = "IEUser"
config.winrm.password = "Passw0rd!"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false
20,18 1%
end
#
# View the documentation for the provider you are using for more
# information on available options.
# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
# config.vm.provision "shell", inline: <<-SHELL
# apt-get update
# apt-get install -y apache2
# SHELL
$powershell = <<-POWERSHELL
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install -y ida-free
choco install -y ollydbg
choco install -y hxd
POWERSHELL
config.vm.provision "shell", inline: $powershell
end
92,1 Bot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment