mirror of
https://github.com/carlospolop/PEASS-ng
synced 2024-11-24 01:26:22 +01:00
Merge pull request #438 from tunnellord/master
User folder for cloud creds
This commit is contained in:
commit
8d096a4c72
@ -1282,7 +1282,7 @@ $CCreds = @(".aws\credentials",
|
|||||||
".azure\azureProfile.json")
|
".azure\azureProfile.json")
|
||||||
foreach ($u in $users) {
|
foreach ($u in $users) {
|
||||||
$CCreds | ForEach-Object {
|
$CCreds | ForEach-Object {
|
||||||
if (Test-Path "c:\$u\$_") { Write-Host "$_ found!" -ForegroundColor Red }
|
if (Test-Path "c:\Users\$u\$_") { Write-Host "$_ found!" -ForegroundColor Red }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user