94 lines
3.9 KiB
C#
94 lines
3.9 KiB
C#
namespace CVE_2023_27363
|
||
{
|
||
partial class Form1
|
||
{
|
||
/// <summary>
|
||
/// 必需的设计器变量。
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
/// <summary>
|
||
/// 清理所有正在使用的资源。
|
||
/// </summary>
|
||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region Windows 窗体设计器生成的代码
|
||
|
||
/// <summary>
|
||
/// 设计器支持所需的方法 - 不要修改
|
||
/// 使用代码编辑器修改此方法的内容。
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
this.label1 = new System.Windows.Forms.Label();
|
||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||
this.button1 = new System.Windows.Forms.Button();
|
||
this.SuspendLayout();
|
||
//
|
||
// label1
|
||
//
|
||
this.label1.AutoSize = true;
|
||
this.label1.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||
this.label1.Location = new System.Drawing.Point(12, 9);
|
||
this.label1.Name = "label1";
|
||
this.label1.Size = new System.Drawing.Size(99, 21);
|
||
this.label1.TabIndex = 0;
|
||
this.label1.Text = "JScript Code:";
|
||
//
|
||
// textBox1
|
||
//
|
||
this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||
| System.Windows.Forms.AnchorStyles.Left)
|
||
| System.Windows.Forms.AnchorStyles.Right)));
|
||
this.textBox1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||
this.textBox1.Location = new System.Drawing.Point(12, 33);
|
||
this.textBox1.Multiline = true;
|
||
this.textBox1.Name = "textBox1";
|
||
this.textBox1.Size = new System.Drawing.Size(548, 216);
|
||
this.textBox1.TabIndex = 1;
|
||
this.textBox1.Text = "var c = \'cmd.exe /c notepad.exe\'; new ActiveXObject(\'WScript.Shell\').Run(c);";
|
||
//
|
||
// button1
|
||
//
|
||
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||
this.button1.Font = new System.Drawing.Font("Segoe UI", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||
this.button1.Location = new System.Drawing.Point(485, 255);
|
||
this.button1.Name = "button1";
|
||
this.button1.Size = new System.Drawing.Size(75, 36);
|
||
this.button1.TabIndex = 2;
|
||
this.button1.Text = "Generate";
|
||
this.button1.UseVisualStyleBackColor = true;
|
||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||
//
|
||
// Form1
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(572, 303);
|
||
this.Controls.Add(this.button1);
|
||
this.Controls.Add(this.textBox1);
|
||
this.Controls.Add(this.label1);
|
||
this.Name = "Form1";
|
||
this.Text = "CVE-2023-27363";
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.Windows.Forms.Label label1;
|
||
private System.Windows.Forms.TextBox textBox1;
|
||
private System.Windows.Forms.Button button1;
|
||
}
|
||
}
|
||
|