From abfb06e77c39e808bb43ff3d57732a0f87501491 Mon Sep 17 00:00:00 2001 From: tunnellord <91414478+tunnellord@users.noreply.github.com> Date: Sun, 22 Sep 2024 14:35:21 +0200 Subject: [PATCH] User folder for cloud creds --- winPEAS/winPEASps1/winPEAS.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } } }