Skip to content

Arian-D/windows-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Windows VM sandbox

A bash script to download, create, and run a Windows VM for sandboxing using QEMU-KVM.

Usage

./prepare-windows.sh

By default, the script runs as a sandbox except the first time or if you pass --persistent. There are some VARs that you can configure in the script. Feel free to change it for your needs. If the VM doesn’t exist, the script downloads the image, and converts it to qcow2. Then, it launches the VM.

(Current) flags:

  • --persistent (-p): Make the VM persistent to make changes (updates or Flare VM.

Installation

Dependencies

The only dependencies are

  • A working Linux/BSD host
  • wget
  • tar
  • unzip
  • QEMU

wget, tar, and unzip are either already available in your distribution or you can obtain them from your package manager. For QEMU, you can refer to the official download page.

Location

Drop the script wherever you want to store the VM and launch it.

Todo

  • [ ] A flag for URL (since microsoft changes the VMs periodically).
  • [ ] Switch to getopts for flags
  • [X] Multi-core CPU support

About

A script to spawn a Windows sandbox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages