Update Program.cs

This commit is contained in:
Carlos Polop 2020-04-27 21:35:46 +01:00 committed by GitHub
parent 8d5aed90e6
commit 403e249d3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,9 +187,14 @@ namespace winPEAS
{
try
{
Dictionary<string, string> colorsPSI = new Dictionary<string, string>()
{
{ "PS history file: .+", Beaprint.ansi_color_bad },
{ "PS history size: .+", Beaprint.ansi_color_bad }
};
Beaprint.MainPrint("PowerShell Settings", "");
Dictionary<string, string> PSs = SystemInfo.GetPowerShellSettings();
Beaprint.DictPrint(PSs, false);
Beaprint.DictPrint(PSs, colorsPSI, false);
}
catch (Exception ex)
{