diff --git a/winPEAS/winPEASps1/winPEAS.ps1 b/winPEAS/winPEASps1/winPEAS.ps1 index 0884504..b08d06b 100644 --- a/winPEAS/winPEASps1/winPEAS.ps1 +++ b/winPEAS/winPEASps1/winPEAS.ps1 @@ -1282,7 +1282,7 @@ $CCreds = @(".aws\credentials", ".azure\azureProfile.json") foreach ($u in $users) { $CCreds | ForEach-Object { - if (Test-Path "c:\$u\$_") { Write-Host "$_ found!" -ForegroundColor Red } + if (Test-Path "c:\Users\$u\$_") { Write-Host "$_ found!" -ForegroundColor Red } } }