Add files via upload
This commit is contained in:
parent
7f2497a4c6
commit
25224ab95c
6 changed files with 125 additions and 175 deletions
31
src/Privatezilla/MainWindow.Designer.cs
generated
31
src/Privatezilla/MainWindow.Designer.cs
generated
|
@ -54,9 +54,8 @@
|
|||
this.PnlPS = new System.Windows.Forms.Panel();
|
||||
this.BtnMenuPS = new System.Windows.Forms.Button();
|
||||
this.TxtPSInfo = new System.Windows.Forms.TextBox();
|
||||
this.TxtOutputPS = new System.Windows.Forms.TextBox();
|
||||
this.TxtConsolePS = new System.Windows.Forms.TextBox();
|
||||
this.LblPSHeader = new System.Windows.Forms.Label();
|
||||
this.TxtConsolePS = new System.Windows.Forms.TextBox();
|
||||
this.PSMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.PSImport = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.PSSaveAs = new System.Windows.Forms.ToolStripMenuItem();
|
||||
|
@ -139,10 +138,10 @@
|
|||
// PnlNav
|
||||
//
|
||||
this.PnlNav.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.PnlNav.Controls.Add(this.TvwSettings);
|
||||
this.PnlNav.Controls.Add(this.LblPS);
|
||||
this.PnlNav.Controls.Add(this.LblSettings);
|
||||
this.PnlNav.Controls.Add(this.LblMainMenu);
|
||||
this.PnlNav.Controls.Add(this.TvwSettings);
|
||||
this.PnlNav.Controls.Add(this.LstPS);
|
||||
resources.ApplyResources(this.PnlNav, "PnlNav");
|
||||
this.PnlNav.Name = "PnlNav";
|
||||
|
@ -274,9 +273,8 @@
|
|||
this.PnlPS.BackColor = System.Drawing.Color.White;
|
||||
this.PnlPS.Controls.Add(this.BtnMenuPS);
|
||||
this.PnlPS.Controls.Add(this.TxtPSInfo);
|
||||
this.PnlPS.Controls.Add(this.TxtOutputPS);
|
||||
this.PnlPS.Controls.Add(this.TxtConsolePS);
|
||||
this.PnlPS.Controls.Add(this.LblPSHeader);
|
||||
this.PnlPS.Controls.Add(this.TxtConsolePS);
|
||||
this.PnlPS.Name = "PnlPS";
|
||||
//
|
||||
// BtnMenuPS
|
||||
|
@ -300,13 +298,11 @@
|
|||
this.TxtPSInfo.Name = "TxtPSInfo";
|
||||
this.TxtPSInfo.ReadOnly = true;
|
||||
//
|
||||
// TxtOutputPS
|
||||
// LblPSHeader
|
||||
//
|
||||
resources.ApplyResources(this.TxtOutputPS, "TxtOutputPS");
|
||||
this.TxtOutputPS.BackColor = System.Drawing.Color.White;
|
||||
this.TxtOutputPS.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.TxtOutputPS.ForeColor = System.Drawing.Color.Black;
|
||||
this.TxtOutputPS.Name = "TxtOutputPS";
|
||||
resources.ApplyResources(this.LblPSHeader, "LblPSHeader");
|
||||
this.LblPSHeader.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.LblPSHeader.Name = "LblPSHeader";
|
||||
//
|
||||
// TxtConsolePS
|
||||
//
|
||||
|
@ -318,12 +314,6 @@
|
|||
this.TxtConsolePS.ForeColor = System.Drawing.Color.Black;
|
||||
this.TxtConsolePS.Name = "TxtConsolePS";
|
||||
//
|
||||
// LblPSHeader
|
||||
//
|
||||
resources.ApplyResources(this.LblPSHeader, "LblPSHeader");
|
||||
this.LblPSHeader.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.LblPSHeader.Name = "LblPSHeader";
|
||||
//
|
||||
// PSMenu
|
||||
//
|
||||
this.PSMenu.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
|
@ -364,11 +354,11 @@
|
|||
//
|
||||
// PnlSettingsBottom
|
||||
//
|
||||
this.PnlSettingsBottom.Controls.Add(this.BtnSettingsAnalyze);
|
||||
this.PnlSettingsBottom.Controls.Add(this.BtnSettingsUndo);
|
||||
this.PnlSettingsBottom.Controls.Add(this.BtnSettingsDo);
|
||||
this.PnlSettingsBottom.Controls.Add(this.ChkCodePS);
|
||||
this.PnlSettingsBottom.Controls.Add(this.BtnDoPS);
|
||||
this.PnlSettingsBottom.Controls.Add(this.BtnSettingsAnalyze);
|
||||
this.PnlSettingsBottom.Controls.Add(this.ChkCodePS);
|
||||
resources.ApplyResources(this.PnlSettingsBottom, "PnlSettingsBottom");
|
||||
this.PnlSettingsBottom.Name = "PnlSettingsBottom";
|
||||
//
|
||||
|
@ -400,8 +390,8 @@
|
|||
this.BackColor = System.Drawing.Color.White;
|
||||
this.Controls.Add(this.PnlSettingsBottom);
|
||||
this.Controls.Add(this.PnlNav);
|
||||
this.Controls.Add(this.PnlSettings);
|
||||
this.Controls.Add(this.PnlPS);
|
||||
this.Controls.Add(this.PnlSettings);
|
||||
this.Name = "MainWindow";
|
||||
this.ShowIcon = false;
|
||||
this.MainMenu.ResumeLayout(false);
|
||||
|
@ -439,7 +429,6 @@
|
|||
private System.Windows.Forms.Button BtnSettingsAnalyze;
|
||||
private System.Windows.Forms.Panel PnlPS;
|
||||
private System.Windows.Forms.TextBox TxtPSInfo;
|
||||
private System.Windows.Forms.TextBox TxtOutputPS;
|
||||
private System.Windows.Forms.TextBox TxtConsolePS;
|
||||
private System.Windows.Forms.ContextMenuStrip PSMenu;
|
||||
private System.Windows.Forms.ToolStripMenuItem PSImport;
|
||||
|
|
|
@ -1,19 +1,17 @@
|
|||
using Privatezilla.ITreeNode;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Globalization; // Localization
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Management.Automation;
|
||||
using System.Net;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using System.Threading; // Localization
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Globalization;
|
||||
using System.Threading;
|
||||
|
||||
namespace Privatezilla
|
||||
{
|
||||
|
@ -97,7 +95,7 @@ namespace Privatezilla
|
|||
public MainWindow()
|
||||
{
|
||||
// Uncomment lower line and add lang code to run localization test
|
||||
// Thread.CurrentThread.CurrentUICulture = new CultureInfo("es");
|
||||
// Thread.CurrentThread.CurrentUICulture = new CultureInfo("es");
|
||||
|
||||
InitializeComponent();
|
||||
|
||||
|
@ -586,7 +584,7 @@ namespace Privatezilla
|
|||
/// <summary>
|
||||
/// Run custom PowerShell scripts
|
||||
/// </summary>
|
||||
private void BtnDoPS_Click(object sender, EventArgs e)
|
||||
private async void BtnDoPS_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (LstPS.CheckedItems.Count == 0)
|
||||
{
|
||||
|
@ -598,24 +596,42 @@ namespace Privatezilla
|
|||
if (LstPS.GetItemChecked(i))
|
||||
{
|
||||
LstPS.SelectedIndex = i;
|
||||
string psdir = @"scripts\" + LstPS.SelectedItem.ToString() + ".ps1";
|
||||
var ps1File = psdir;
|
||||
|
||||
var equals = new[] { "Silent" };
|
||||
var str = TxtPSInfo.Text;
|
||||
|
||||
BtnDoPS.Text = Properties.Resources.statusDoPSProcessing;
|
||||
PnlPS.Enabled = false;
|
||||
|
||||
//TxtOutputPS.Clear();
|
||||
using (PowerShell powerShell = PowerShell.Create())
|
||||
// Silent
|
||||
if (equals.Any(str.Contains))
|
||||
{
|
||||
powerShell.AddScript(TxtConsolePS.Text);
|
||||
powerShell.AddCommand("Out-String");
|
||||
Collection<PSObject> PSOutput = powerShell.Invoke();
|
||||
StringBuilder stringBuilder = new StringBuilder();
|
||||
foreach (PSObject pSObject in PSOutput)
|
||||
stringBuilder.AppendLine(pSObject.ToString());
|
||||
var startInfo = new ProcessStartInfo()
|
||||
{
|
||||
FileName = "powershell.exe",
|
||||
Arguments = $"-executionpolicy bypass -file \"{ps1File}\"",
|
||||
UseShellExecute = false,
|
||||
CreateNoWindow = true,
|
||||
};
|
||||
|
||||
TxtOutputPS.Text = stringBuilder.ToString();
|
||||
|
||||
BtnDoPS.Text = Properties.Resources.statusDoPSApply;
|
||||
PnlPS.Enabled = true;
|
||||
await Task.Run(() => { Process.Start(startInfo).WaitForExit(); });
|
||||
}
|
||||
else // Create ConsoleWindow
|
||||
{
|
||||
var startInfo = new ProcessStartInfo()
|
||||
{
|
||||
FileName = "powershell.exe",
|
||||
Arguments = $"-executionpolicy bypass -file \"{ps1File}\"",
|
||||
UseShellExecute = false,
|
||||
};
|
||||
|
||||
await Task.Run(() => { Process.Start(startInfo).WaitForExit(); });
|
||||
}
|
||||
|
||||
BtnDoPS.Text = Properties.Resources.statusDoPSApply;
|
||||
PnlPS.Enabled = true;
|
||||
|
||||
// Done!
|
||||
MessageBox.Show("Script " + "\"" + LstPS.Text + "\" " + Properties.Resources.msgPSSuccess, this.Text, MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
|
@ -632,12 +648,10 @@ namespace Privatezilla
|
|||
{
|
||||
ChkCodePS.Text = Properties.Resources.PSBack;
|
||||
TxtConsolePS.Visible = true;
|
||||
TxtOutputPS.Visible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
ChkCodePS.Text = Properties.Resources.PSViewCode;
|
||||
TxtOutputPS.Visible = true;
|
||||
ChkCodePS.Text = Properties.Resources.ChkCodePS;
|
||||
TxtConsolePS.Visible = false;
|
||||
}
|
||||
}
|
||||
|
@ -677,7 +691,6 @@ namespace Privatezilla
|
|||
/// <summary>
|
||||
/// Save PowerShell script files as new preset script files
|
||||
/// </summary>
|
||||
|
||||
private void PSSaveAs_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (ChkCodePS.Checked == false)
|
||||
|
@ -711,7 +724,7 @@ namespace Privatezilla
|
|||
|
||||
private void PSMarketplace_Click(object sender, EventArgs e)
|
||||
{
|
||||
Process.Start("http://www.builtbybel.com/marketplace");
|
||||
Process.Start("https://github.com/builtbybel/privatezilla/tree/master/scripts");
|
||||
}
|
||||
|
||||
private void CommunityPkg_Click(object sender, EventArgs e)
|
||||
|
|
|
@ -145,7 +145,7 @@
|
|||
<value>PnlNav</value>
|
||||
</data>
|
||||
<data name=">>TvwSettings.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="LblMainMenu.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
|
@ -175,7 +175,7 @@
|
|||
<value>PnlNav</value>
|
||||
</data>
|
||||
<data name=">>LblMainMenu.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
<value>2</value>
|
||||
</data>
|
||||
<metadata name="MainMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
|
@ -273,7 +273,7 @@
|
|||
<value>PnlNav</value>
|
||||
</data>
|
||||
<data name=">>LblPS.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="LblSettings.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
|
@ -306,7 +306,7 @@
|
|||
<value>PnlNav</value>
|
||||
</data>
|
||||
<data name=">>LblSettings.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="LstPS.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Top, Bottom, Left, Right</value>
|
||||
|
@ -525,7 +525,7 @@
|
|||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>PnlSettings.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="BtnSettingsUndo.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom, Right</value>
|
||||
|
@ -558,7 +558,7 @@
|
|||
<value>PnlSettingsBottom</value>
|
||||
</data>
|
||||
<data name=">>BtnSettingsUndo.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="BtnSettingsDo.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom, Right</value>
|
||||
|
@ -591,7 +591,7 @@
|
|||
<value>PnlSettingsBottom</value>
|
||||
</data>
|
||||
<data name=">>BtnSettingsDo.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="BtnSettingsAnalyze.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom, Left</value>
|
||||
|
@ -624,7 +624,7 @@
|
|||
<value>PnlSettingsBottom</value>
|
||||
</data>
|
||||
<data name=">>BtnSettingsAnalyze.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="PnlPS.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Top, Bottom, Left, Right</value>
|
||||
|
@ -681,13 +681,13 @@
|
|||
<value>110</value>
|
||||
</data>
|
||||
<data name="TxtPSInfo.Text" xml:space="preserve">
|
||||
<value>Welcome to the Modern Policy Editor, which allows you to apply group policies and custom settings in the form of PowerShell scripts and templates (bundled scripts).
|
||||
<value>Welcome to the Scripting Editor, which allows you to apply third-party script files and custom settings in form of PowerShell scripts and templates (bundled scripts).
|
||||
|
||||
Select a script to view it's description.
|
||||
|
||||
To check the code for vulnerabilities click on "View code".
|
||||
|
||||
To obtain new objects (templates, scripts etc.) visit the Marketplace in the upper right menu. Privatezilla uses the Marketplace of the app "SharpApp". Since this app is from the same developer and the scripting is based upon Powershell, they are also compatible with each other.
|
||||
To obtain new objects (templates, scripts etc.) visit the Marketplace in the upper right menu.
|
||||
</value>
|
||||
</data>
|
||||
<data name=">>TxtPSInfo.Name" xml:space="preserve">
|
||||
|
@ -702,43 +702,40 @@ To obtain new objects (templates, scripts etc.) visit the Marketplace in the upp
|
|||
<data name=">>TxtPSInfo.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="TxtOutputPS.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Top, Bottom, Left, Right</value>
|
||||
<data name="LblPSHeader.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Top, Left, Right</value>
|
||||
</data>
|
||||
<data name="TxtOutputPS.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Consolas, 9pt</value>
|
||||
<data name="LblPSHeader.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI Semibold, 12pt, style=Bold</value>
|
||||
</data>
|
||||
<data name="TxtOutputPS.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>242, 48</value>
|
||||
<data name="LblPSHeader.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="TxtOutputPS.Multiline" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
<data name="LblPSHeader.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>5, 0, 0, 0</value>
|
||||
</data>
|
||||
<data name="TxtOutputPS.ScrollBars" type="System.Windows.Forms.ScrollBars, System.Windows.Forms">
|
||||
<value>Both</value>
|
||||
<data name="LblPSHeader.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>716, 45</value>
|
||||
</data>
|
||||
<data name="TxtOutputPS.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>474, 722</value>
|
||||
<data name="LblPSHeader.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>116</value>
|
||||
</data>
|
||||
<data name="TxtOutputPS.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>10</value>
|
||||
<data name="LblPSHeader.Text" xml:space="preserve">
|
||||
<value>Apply PowerShell Script</value>
|
||||
</data>
|
||||
<data name="TxtOutputPS.Text" xml:space="preserve">
|
||||
<value>PS</value>
|
||||
<data name="LblPSHeader.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name="TxtOutputPS.WordWrap" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
<data name=">>LblPSHeader.Name" xml:space="preserve">
|
||||
<value>LblPSHeader</value>
|
||||
</data>
|
||||
<data name=">>TxtOutputPS.Name" xml:space="preserve">
|
||||
<value>TxtOutputPS</value>
|
||||
<data name=">>LblPSHeader.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>TxtOutputPS.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>TxtOutputPS.Parent" xml:space="preserve">
|
||||
<data name=">>LblPSHeader.Parent" xml:space="preserve">
|
||||
<value>PnlPS</value>
|
||||
</data>
|
||||
<data name=">>TxtOutputPS.ZOrder" xml:space="preserve">
|
||||
<data name=">>LblPSHeader.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="TxtConsolePS.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
|
@ -780,42 +777,6 @@ To obtain new objects (templates, scripts etc.) visit the Marketplace in the upp
|
|||
<data name=">>TxtConsolePS.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="LblPSHeader.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Top, Left, Right</value>
|
||||
</data>
|
||||
<data name="LblPSHeader.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI Semibold, 12pt, style=Bold</value>
|
||||
</data>
|
||||
<data name="LblPSHeader.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>0, 0</value>
|
||||
</data>
|
||||
<data name="LblPSHeader.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
|
||||
<value>5, 0, 0, 0</value>
|
||||
</data>
|
||||
<data name="LblPSHeader.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>716, 45</value>
|
||||
</data>
|
||||
<data name="LblPSHeader.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>116</value>
|
||||
</data>
|
||||
<data name="LblPSHeader.Text" xml:space="preserve">
|
||||
<value>Apply PowerShell Script</value>
|
||||
</data>
|
||||
<data name="LblPSHeader.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||
<value>MiddleLeft</value>
|
||||
</data>
|
||||
<data name=">>LblPSHeader.Name" xml:space="preserve">
|
||||
<value>LblPSHeader</value>
|
||||
</data>
|
||||
<data name=">>LblPSHeader.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>LblPSHeader.Parent" xml:space="preserve">
|
||||
<value>PnlPS</value>
|
||||
</data>
|
||||
<data name=">>LblPSHeader.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="PnlPS.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>366, 0</value>
|
||||
</data>
|
||||
|
@ -838,7 +799,7 @@ To obtain new objects (templates, scripts etc.) visit the Marketplace in the upp
|
|||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>PnlPS.ZOrder" xml:space="preserve">
|
||||
<value>5</value>
|
||||
<value>4</value>
|
||||
</data>
|
||||
<metadata name="PSMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>132, 19</value>
|
||||
|
@ -899,6 +860,42 @@ To obtain new objects (templates, scripts etc.) visit the Marketplace in the upp
|
|||
<data name=">>PSMenu.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name="BtnDoPS.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom, Right</value>
|
||||
</data>
|
||||
<data name="BtnDoPS.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
|
||||
<value>Flat</value>
|
||||
</data>
|
||||
<data name="BtnDoPS.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9.75pt</value>
|
||||
</data>
|
||||
<data name="BtnDoPS.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>508, 14</value>
|
||||
</data>
|
||||
<data name="BtnDoPS.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>196, 32</value>
|
||||
</data>
|
||||
<data name="BtnDoPS.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>114</value>
|
||||
</data>
|
||||
<data name="BtnDoPS.Text" xml:space="preserve">
|
||||
<value>Apply selected</value>
|
||||
</data>
|
||||
<data name="BtnDoPS.Visible" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name=">>BtnDoPS.Name" xml:space="preserve">
|
||||
<value>BtnDoPS</value>
|
||||
</data>
|
||||
<data name=">>BtnDoPS.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>BtnDoPS.Parent" xml:space="preserve">
|
||||
<value>PnlSettingsBottom</value>
|
||||
</data>
|
||||
<data name=">>BtnDoPS.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="ChkCodePS.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom, Left</value>
|
||||
</data>
|
||||
|
@ -942,42 +939,6 @@ To obtain new objects (templates, scripts etc.) visit the Marketplace in the upp
|
|||
<value>PnlSettingsBottom</value>
|
||||
</data>
|
||||
<data name=">>ChkCodePS.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="BtnDoPS.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom, Right</value>
|
||||
</data>
|
||||
<data name="BtnDoPS.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
|
||||
<value>Flat</value>
|
||||
</data>
|
||||
<data name="BtnDoPS.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9.75pt</value>
|
||||
</data>
|
||||
<data name="BtnDoPS.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>508, 14</value>
|
||||
</data>
|
||||
<data name="BtnDoPS.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>196, 32</value>
|
||||
</data>
|
||||
<data name="BtnDoPS.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>114</value>
|
||||
</data>
|
||||
<data name="BtnDoPS.Text" xml:space="preserve">
|
||||
<value>Apply selected</value>
|
||||
</data>
|
||||
<data name="BtnDoPS.Visible" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name=">>BtnDoPS.Name" xml:space="preserve">
|
||||
<value>BtnDoPS</value>
|
||||
</data>
|
||||
<data name=">>BtnDoPS.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>BtnDoPS.Parent" xml:space="preserve">
|
||||
<value>PnlSettingsBottom</value>
|
||||
</data>
|
||||
<data name=">>BtnDoPS.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="PnlSettingsBottom.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
|
||||
|
|
|
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
||||
// indem Sie "*" wie unten gezeigt eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("0.40.2")]
|
||||
[assembly: AssemblyFileVersion("0.40.2")]
|
||||
[assembly: AssemblyVersion("0.41.0")]
|
||||
[assembly: AssemblyFileVersion("0.41.0")]
|
||||
|
|
17
src/Privatezilla/Properties/Resources.Designer.cs
generated
17
src/Privatezilla/Properties/Resources.Designer.cs
generated
|
@ -106,7 +106,7 @@ namespace Privatezilla.Properties {
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die View Code ähnelt.
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die View code ähnelt.
|
||||
/// </summary>
|
||||
internal static string ChkCodePS {
|
||||
get {
|
||||
|
@ -283,7 +283,7 @@ namespace Privatezilla.Properties {
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die What does this template/script do?\r\n ähnelt.
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die What does this script do?\r\n ähnelt.
|
||||
/// </summary>
|
||||
internal static string PSInfo {
|
||||
get {
|
||||
|
@ -309,15 +309,6 @@ namespace Privatezilla.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die View code ähnelt.
|
||||
/// </summary>
|
||||
internal static string PSViewCode {
|
||||
get {
|
||||
return ResourceManager.GetString("PSViewCode", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die You are using an unoffical version of Privatezilla. ähnelt.
|
||||
/// </summary>
|
||||
|
@ -1480,13 +1471,13 @@ namespace Privatezilla.Properties {
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Welcome to the Modern Policy Editor, which allows you to apply group policies and custom settings in the form of PowerShell scripts and templates (bundled scripts).
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Welcome to the Scripting Editor, which allows you to apply third-party script files and custom settings in form of PowerShell scripts and templates (bundled scripts).
|
||||
///
|
||||
///Select a script to view it's description.
|
||||
///
|
||||
///To check the code for vulnerabilities click on "View code".
|
||||
///
|
||||
///To obtain new objects (templates, scripts etc.) visit the Marketplace in the upper right menu. Privatezilla uses the Marketplace of the app "SharpApp". Since this app is from the same developer and the scripting is based upon Powershell [Rest der Zeichenfolge wurde abgeschnitten]"; ähnelt.
|
||||
///To obtain new objects (templates, scripts etc.) visit the Marketplace in the upper right menu. ähnelt.
|
||||
/// </summary>
|
||||
internal static string TxtPSInfo {
|
||||
get {
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
<comment>Main menu</comment>
|
||||
</data>
|
||||
<data name="ChkCodePS" xml:space="preserve">
|
||||
<value>View Code</value>
|
||||
<value>View code</value>
|
||||
<comment>GUI</comment>
|
||||
</data>
|
||||
<data name="columnSetting" xml:space="preserve">
|
||||
|
@ -226,7 +226,7 @@ Add translation credits here!</comment>
|
|||
<comment>Scripting menu</comment>
|
||||
</data>
|
||||
<data name="PSInfo" xml:space="preserve">
|
||||
<value>What does this template/script do?\r\n</value>
|
||||
<value>What does this script do?\r\n</value>
|
||||
<comment>Scripting menu</comment>
|
||||
</data>
|
||||
<data name="PSMarketplace" xml:space="preserve">
|
||||
|
@ -237,10 +237,6 @@ Add translation credits here!</comment>
|
|||
<value>Save current script as new preset script</value>
|
||||
<comment>Scripting menu</comment>
|
||||
</data>
|
||||
<data name="PSViewCode" xml:space="preserve">
|
||||
<value>View code</value>
|
||||
<comment>GUI</comment>
|
||||
</data>
|
||||
<data name="releaseUnofficial" xml:space="preserve">
|
||||
<value>You are using an unoffical version of Privatezilla.</value>
|
||||
</data>
|
||||
|
@ -731,13 +727,13 @@ Add translation credits here!</comment>
|
|||
<value>Do you really want to revert all selected settings to Windows 10 default state?</value>
|
||||
</data>
|
||||
<data name="TxtPSInfo" xml:space="preserve">
|
||||
<value>Welcome to the Modern Policy Editor, which allows you to apply group policies and custom settings in the form of PowerShell scripts and templates (bundled scripts).
|
||||
<value>Welcome to the Scripting Editor, which allows you to apply third-party script files and custom settings in form of PowerShell scripts and templates (bundled scripts).
|
||||
|
||||
Select a script to view it's description.
|
||||
|
||||
To check the code for vulnerabilities click on "View code".
|
||||
|
||||
To obtain new objects (templates, scripts etc.) visit the Marketplace in the upper right menu. Privatezilla uses the Marketplace of the app "SharpApp". Since this app is from the same developer and the scripting is based upon Powershell, they are also compatible with each other.</value>
|
||||
To obtain new objects (templates, scripts etc.) visit the Marketplace in the upper right menu.</value>
|
||||
<comment>GUI </comment>
|
||||
</data>
|
||||
</root>
|
Loading…
Add table
Reference in a new issue