mirror of
https://github.com/carlospolop/PEASS-ng
synced 2024-11-27 14:13:38 +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()
|
static void PrintCachedCreds()
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
Beaprint.MainPrint("Cached Creds");
|
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");
|
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()
|
static void PrintUserEV()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user