Update Program.cs
This commit is contained in:
parent
8d5aed90e6
commit
403e249d3b
@ -187,9 +187,14 @@ namespace winPEAS
|
|||||||
{
|
{
|
||||||
try
|
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", "");
|
Beaprint.MainPrint("PowerShell Settings", "");
|
||||||
Dictionary<string, string> PSs = SystemInfo.GetPowerShellSettings();
|
Dictionary<string, string> PSs = SystemInfo.GetPowerShellSettings();
|
||||||
Beaprint.DictPrint(PSs, false);
|
Beaprint.DictPrint(PSs, colorsPSI, false);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user