mirror of
https://github.com/peass-ng/PEASS-ng.git
synced 2026-08-03 09:21:39 -07:00
Update Program.cs
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user