Skip to content

Commit

Permalink
Merge pull request #438 from tunnellord/master
Browse files Browse the repository at this point in the history
User folder for cloud creds
  • Loading branch information
carlospolop authored Sep 23, 2024
2 parents d9f6e3e + abfb06e commit 8d096a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winPEAS/winPEASps1/winPEAS.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}
}

Expand Down

0 comments on commit 8d096a4

Please sign in to comment.