Making Vagrant and Virtualbox installed on Windows as a provider is not well documented across the documentations. This document outlines how to set this up.
- Windows 11
- Virtualbox
- WSL2
(function () { | |
const rows = document.querySelectorAll('tr.result-row'); | |
const csvRows = []; | |
// CSV Header | |
csvRows.push([ | |
'Date', | |
'Time', | |
'Ping (ms)', | |
'Download (Mbps)', |
#!/bin/bash | |
# Evidence Collection Script | |
# Gathers system and application information for auditing | |
# ====================== CONFIGURATION SECTION ====================== | |
# Configure services to check here | |
SERVICES_TO_CHECK=( | |
#"glusterd" | |
) |
import struct | |
import zlib | |
import argparse | |
import sys | |
def rotate_left(value, shift, bit_size=32): | |
"""Rotate left a 32-bit integer.""" | |
return ((value << shift) & (2**bit_size - 1)) | (value >> (bit_size - shift)) | |
def decrypt_and_decompress(file_path): |
import hashlib | |
import random | |
def decrypt(input_string, key="keykey"): | |
chars_array = list("e7NjchMCEGgTpsx3mKXbVPiAqn8DLzWo_6.tvwJQ-R0OUrSak954fd2FYyuH~1lIBZ") | |
chars_length = len(chars_array) | |
# MD5 hash of the key | |
key_array = list(hashlib.md5(key.encode()).hexdigest()) | |
# Split the input string into its components | |
random_key_array = list(input_string[:chars_length * 2]) |
#!/bin/bash | |
# External group definition script for ClusterShell | |
# Reads group definitions from a YAML file and outputs hostnames | |
# Default YAML file path | |
YAML_FILE="/etc/clustershell/groups.yaml" | |
# Parse command-line options | |
while getopts "f:" opt; do | |
case $opt in |
A flexible GUI framework for ComputerCraft that provides a complete windowing system with tabs, buttons, labels, lists and graphs.
# START http://boxstarter.org/package/nr/url?<url-gist> | |
#Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
choco install -y GoogleChrome | |
choco install -y Firefox | |
choco install -y 7zip.install | |
choco install -y microsoft-windows-terminal | |
choco install -y notepadplusplus.install | |
choco install -y fiddler |
$VMName = Read-Host 'Name your VM' | |
New-Item -Path C:\Hyper-V\ -Name "$VMname" -ItemType Directory -Force | |
Copy-Item -Path "C:\Hyper-V\W11DevEvalImage\WinDev2407Eval.vhdx" -Destination "C:\Hyper-V\$VMname\$vmname.vhdx" | Out-Null | |
New-VM -Name $VMName -Path C:\Hyper-V\$VMName -MemoryStartupBytes 8GB -VHDPath "C:\Hyper-V\$VMname\$vmname.vhdx" -Generation 2 -BootDevice VHD | |
Set-VM -Name $VMName -ProcessorCount 4 | |
Set-VMMemory $VMName -DynamicMemoryEnabled $false | |
Set-VM -Name $VMName -CheckpointType Disabled | |
Connect-VMNetworkAdapter -VMName $VMName -SwitchName External | |
#TPM |
frontend redis-read | |
bind *:6379 | |
default_backend redis-online | |
frontend redis-write | |
bind *:6380 | |
default_backend redis-primary | |