1
mirror of https://github.com/carlospolop/PEASS-ng synced 2024-11-24 01:26:22 +01:00

Add try-except for PrintCachedCreds

This commit is contained in:
Lionel Ovaert 2024-02-18 21:09:53 +01:00 committed by GitHub
parent b4b8afa169
commit b430fc80bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -386,6 +386,8 @@ namespace winPEAS.Checks
}
static void PrintCachedCreds()
{
try
{
Beaprint.MainPrint("Cached Creds");
Beaprint.LinkPrint("https://book.hacktricks.xyz/windows-hardening/stealing-credentials/credentials-protections#cached-credentials", "If > 0, credentials will be cached in the registry and accessible by SYSTEM user");
@ -403,6 +405,11 @@ namespace winPEAS.Checks
}
}
}
catch (Exception ex)
{
Beaprint.PrintException(ex.Message);
}
}
static void PrintUserEV()
{