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:
parent
b4b8afa169
commit
b430fc80bd
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user