mirror of
https://github.com/carlospolop/PEASS-ng
synced 2025-04-22 13:09:48 +02:00
User folder for cloud creds
This commit is contained in:
parent
cb39091bfa
commit
abfb06e77c
@ -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…
x
Reference in New Issue
Block a user