-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalidation.ps1
More file actions
22 lines (18 loc) · 1006 Bytes
/
Copy pathvalidation.ps1
File metadata and controls
22 lines (18 loc) · 1006 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Write-Host "Starting validation..." -ForegroundColor Green
# Check lab environment
if (Test-Path "HKCU:\Software\DarkKittensLab") {
Write-Host "Lab environment detected." -ForegroundColor Green
# Check if evidence has been collected
$evidencePath = "HKCU:\Software\DarkKittensLab\Evidence"
$evidenceCollected = (Test-Path $evidencePath) -and ((Get-ChildItem -Path $evidencePath -ErrorAction SilentlyContinue).Count -gt 0)
if ($evidenceCollected) {
Write-Host "Evidence has been collected!" -ForegroundColor Green
Write-Host "Great job! You've made progress in the lab." -ForegroundColor Green
} else {
Write-Host "No evidence collected yet." -ForegroundColor Yellow
Write-Host "Use evidence_collector.ps1 to document your findings." -ForegroundColor Yellow
}
} else {
Write-Host "Lab environment not found. Run setup.ps1 first." -ForegroundColor Red
}
Write-Host "Validation completed." -ForegroundColor Green