Pinewood-nl / domain_audit

Audit tool for Active Directory. Automates a lot of checks from a pentester perspective.
GNU General Public License v3.0
0 stars 0 forks source link

Windows Sandbox install #1

Open darses opened 4 months ago

darses commented 4 months ago

Install WinGET

Source: https://learn.microsoft.com/en-us/windows/package-manager/winget/#install-winget-on-windows-sandbox

$progressPreference = 'silentlyContinue'
Write-Information "Downloading WinGet and its dependencies..."
Invoke-WebRequest -Uri https://aka.ms/getwinget -OutFile Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile Microsoft.VCLibs.x64.14.00.Desktop.appx
Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx -OutFile Microsoft.UI.Xaml.2.8.x64.appx
Add-AppxPackage Microsoft.VCLibs.x64.14.00.Desktop.appx
Add-AppxPackage Microsoft.UI.Xaml.2.8.x64.appx
Add-AppxPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle

Install Git, Python, etc.

winget install -e --id Python.Python.3.12
winget install -e --id Git.Git
winget install -e --id Rustlang.Rustup

Git Clone

git clone https://github.com/0xJs/domain_audit
darses commented 4 months ago

De C++ Build tools installatie kan waarschijnlijk vervangen worden door een winget installatie met aangepaste parameters, zie bijvoorbeeld https://gist.github.com/robotdad/83041ccfe1bea895ffa0739192771732