Merge pull request #415 from LionelOvaert/patch-1

Add try-except for PrintCachedCreds
This commit is contained in:
Carlos Polop 2024-02-23 15:12:38 +01:00 committed by GitHub
commit 0dccf2f2a8
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()
{