rename
This commit is contained in:
parent
06208d344f
commit
94be6222b2
342
MifareOneTool/Form1.Designer.cs
generated
342
MifareOneTool/Form1.Designer.cs
generated
@ -30,24 +30,25 @@
|
|||||||
{
|
{
|
||||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||||
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||||||
this.button12 = new System.Windows.Forms.Button();
|
this.buttonCLI = new System.Windows.Forms.Button();
|
||||||
this.button2 = new System.Windows.Forms.Button();
|
this.buttonScanCard = new System.Windows.Forms.Button();
|
||||||
this.button1 = new System.Windows.Forms.Button();
|
this.buttonListDev = new System.Windows.Forms.Button();
|
||||||
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||||
this.button3 = new System.Windows.Forms.Button();
|
this.buttonMfRead = new System.Windows.Forms.Button();
|
||||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||||
this.button11 = new System.Windows.Forms.Button();
|
this.buttonBmfWrite = new System.Windows.Forms.Button();
|
||||||
this.button10 = new System.Windows.Forms.Button();
|
this.buttonBmfRead = new System.Windows.Forms.Button();
|
||||||
this.button9 = new System.Windows.Forms.Button();
|
this.buttonMfoc = new System.Windows.Forms.Button();
|
||||||
this.button8 = new System.Windows.Forms.Button();
|
this.buttonUidWrite = new System.Windows.Forms.Button();
|
||||||
this.button7 = new System.Windows.Forms.Button();
|
this.buttonUidFormat = new System.Windows.Forms.Button();
|
||||||
this.button6 = new System.Windows.Forms.Button();
|
this.buttonUidReset = new System.Windows.Forms.Button();
|
||||||
this.button5 = new System.Windows.Forms.Button();
|
this.buttonMfWrite = new System.Windows.Forms.Button();
|
||||||
this.button4 = new System.Windows.Forms.Button();
|
this.buttonSelectKey = new System.Windows.Forms.Button();
|
||||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||||
this.button15 = new System.Windows.Forms.Button();
|
this.buttonKill = new System.Windows.Forms.Button();
|
||||||
this.button14 = new System.Windows.Forms.Button();
|
this.buttonConSave = new System.Windows.Forms.Button();
|
||||||
this.button13 = new System.Windows.Forms.Button();
|
this.buttonConClr = new System.Windows.Forms.Button();
|
||||||
|
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||||
this.groupBox1.SuspendLayout();
|
this.groupBox1.SuspendLayout();
|
||||||
this.groupBox2.SuspendLayout();
|
this.groupBox2.SuspendLayout();
|
||||||
this.groupBox3.SuspendLayout();
|
this.groupBox3.SuspendLayout();
|
||||||
@ -56,9 +57,9 @@
|
|||||||
// groupBox1
|
// groupBox1
|
||||||
//
|
//
|
||||||
this.groupBox1.Controls.Add(this.linkLabel1);
|
this.groupBox1.Controls.Add(this.linkLabel1);
|
||||||
this.groupBox1.Controls.Add(this.button12);
|
this.groupBox1.Controls.Add(this.buttonCLI);
|
||||||
this.groupBox1.Controls.Add(this.button2);
|
this.groupBox1.Controls.Add(this.buttonScanCard);
|
||||||
this.groupBox1.Controls.Add(this.button1);
|
this.groupBox1.Controls.Add(this.buttonListDev);
|
||||||
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
||||||
this.groupBox1.Name = "groupBox1";
|
this.groupBox1.Name = "groupBox1";
|
||||||
this.groupBox1.Size = new System.Drawing.Size(200, 83);
|
this.groupBox1.Size = new System.Drawing.Size(200, 83);
|
||||||
@ -77,35 +78,35 @@
|
|||||||
this.linkLabel1.Text = "检查更新";
|
this.linkLabel1.Text = "检查更新";
|
||||||
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
|
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
|
||||||
//
|
//
|
||||||
// button12
|
// buttonCLI
|
||||||
//
|
//
|
||||||
this.button12.Location = new System.Drawing.Point(102, 24);
|
this.buttonCLI.Location = new System.Drawing.Point(102, 24);
|
||||||
this.button12.Name = "button12";
|
this.buttonCLI.Name = "buttonCLI";
|
||||||
this.button12.Size = new System.Drawing.Size(90, 23);
|
this.buttonCLI.Size = new System.Drawing.Size(90, 23);
|
||||||
this.button12.TabIndex = 11;
|
this.buttonCLI.TabIndex = 11;
|
||||||
this.button12.Text = "手动CLI";
|
this.buttonCLI.Text = "手动CLI";
|
||||||
this.button12.UseVisualStyleBackColor = true;
|
this.buttonCLI.UseVisualStyleBackColor = true;
|
||||||
this.button12.Click += new System.EventHandler(this.button12_Click);
|
this.buttonCLI.Click += new System.EventHandler(this.buttonCLI_Click);
|
||||||
//
|
//
|
||||||
// button2
|
// buttonScanCard
|
||||||
//
|
//
|
||||||
this.button2.Location = new System.Drawing.Point(6, 53);
|
this.buttonScanCard.Location = new System.Drawing.Point(6, 53);
|
||||||
this.button2.Name = "button2";
|
this.buttonScanCard.Name = "buttonScanCard";
|
||||||
this.button2.Size = new System.Drawing.Size(90, 23);
|
this.buttonScanCard.Size = new System.Drawing.Size(90, 23);
|
||||||
this.button2.TabIndex = 1;
|
this.buttonScanCard.TabIndex = 1;
|
||||||
this.button2.Text = "手动扫描";
|
this.buttonScanCard.Text = "手动扫描";
|
||||||
this.button2.UseVisualStyleBackColor = true;
|
this.buttonScanCard.UseVisualStyleBackColor = true;
|
||||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
this.buttonScanCard.Click += new System.EventHandler(this.buttonScanCard_Click);
|
||||||
//
|
//
|
||||||
// button1
|
// buttonListDev
|
||||||
//
|
//
|
||||||
this.button1.Location = new System.Drawing.Point(6, 24);
|
this.buttonListDev.Location = new System.Drawing.Point(6, 24);
|
||||||
this.button1.Name = "button1";
|
this.buttonListDev.Name = "buttonListDev";
|
||||||
this.button1.Size = new System.Drawing.Size(90, 23);
|
this.buttonListDev.Size = new System.Drawing.Size(90, 23);
|
||||||
this.button1.TabIndex = 0;
|
this.buttonListDev.TabIndex = 0;
|
||||||
this.button1.Text = "检测";
|
this.buttonListDev.Text = "检测";
|
||||||
this.button1.UseVisualStyleBackColor = true;
|
this.buttonListDev.UseVisualStyleBackColor = true;
|
||||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
this.buttonListDev.Click += new System.EventHandler(this.buttonListDev_Click);
|
||||||
//
|
//
|
||||||
// richTextBox1
|
// richTextBox1
|
||||||
//
|
//
|
||||||
@ -118,27 +119,27 @@
|
|||||||
this.richTextBox1.TabIndex = 1;
|
this.richTextBox1.TabIndex = 1;
|
||||||
this.richTextBox1.Text = "Hello,cardman!\n";
|
this.richTextBox1.Text = "Hello,cardman!\n";
|
||||||
//
|
//
|
||||||
// button3
|
// buttonMfRead
|
||||||
//
|
//
|
||||||
this.button3.Location = new System.Drawing.Point(6, 24);
|
this.buttonMfRead.Location = new System.Drawing.Point(6, 24);
|
||||||
this.button3.Name = "button3";
|
this.buttonMfRead.Name = "buttonMfRead";
|
||||||
this.button3.Size = new System.Drawing.Size(75, 23);
|
this.buttonMfRead.Size = new System.Drawing.Size(75, 23);
|
||||||
this.button3.TabIndex = 3;
|
this.buttonMfRead.TabIndex = 3;
|
||||||
this.button3.Text = "读卡";
|
this.buttonMfRead.Text = "读卡";
|
||||||
this.button3.UseVisualStyleBackColor = true;
|
this.buttonMfRead.UseVisualStyleBackColor = true;
|
||||||
this.button3.Click += new System.EventHandler(this.button3_Click);
|
this.buttonMfRead.Click += new System.EventHandler(this.buttonMfRead_Click);
|
||||||
//
|
//
|
||||||
// groupBox2
|
// groupBox2
|
||||||
//
|
//
|
||||||
this.groupBox2.Controls.Add(this.button11);
|
this.groupBox2.Controls.Add(this.buttonBmfWrite);
|
||||||
this.groupBox2.Controls.Add(this.button10);
|
this.groupBox2.Controls.Add(this.buttonBmfRead);
|
||||||
this.groupBox2.Controls.Add(this.button9);
|
this.groupBox2.Controls.Add(this.buttonMfoc);
|
||||||
this.groupBox2.Controls.Add(this.button8);
|
this.groupBox2.Controls.Add(this.buttonUidWrite);
|
||||||
this.groupBox2.Controls.Add(this.button7);
|
this.groupBox2.Controls.Add(this.buttonUidFormat);
|
||||||
this.groupBox2.Controls.Add(this.button6);
|
this.groupBox2.Controls.Add(this.buttonUidReset);
|
||||||
this.groupBox2.Controls.Add(this.button5);
|
this.groupBox2.Controls.Add(this.buttonMfWrite);
|
||||||
this.groupBox2.Controls.Add(this.button4);
|
this.groupBox2.Controls.Add(this.buttonSelectKey);
|
||||||
this.groupBox2.Controls.Add(this.button3);
|
this.groupBox2.Controls.Add(this.buttonMfRead);
|
||||||
this.groupBox2.Location = new System.Drawing.Point(218, 12);
|
this.groupBox2.Location = new System.Drawing.Point(218, 12);
|
||||||
this.groupBox2.Name = "groupBox2";
|
this.groupBox2.Name = "groupBox2";
|
||||||
this.groupBox2.Size = new System.Drawing.Size(417, 83);
|
this.groupBox2.Size = new System.Drawing.Size(417, 83);
|
||||||
@ -146,91 +147,91 @@
|
|||||||
this.groupBox2.TabStop = false;
|
this.groupBox2.TabStop = false;
|
||||||
this.groupBox2.Text = "功能";
|
this.groupBox2.Text = "功能";
|
||||||
//
|
//
|
||||||
// button11
|
// buttonBmfWrite
|
||||||
//
|
//
|
||||||
this.button11.Location = new System.Drawing.Point(330, 53);
|
this.buttonBmfWrite.Location = new System.Drawing.Point(330, 53);
|
||||||
this.button11.Name = "button11";
|
this.buttonBmfWrite.Name = "buttonBmfWrite";
|
||||||
this.button11.Size = new System.Drawing.Size(75, 23);
|
this.buttonBmfWrite.Size = new System.Drawing.Size(75, 23);
|
||||||
this.button11.TabIndex = 10;
|
this.buttonBmfWrite.TabIndex = 10;
|
||||||
this.button11.Text = "后门写";
|
this.buttonBmfWrite.Text = "后门写";
|
||||||
this.button11.UseVisualStyleBackColor = true;
|
this.buttonBmfWrite.UseVisualStyleBackColor = true;
|
||||||
this.button11.Click += new System.EventHandler(this.button11_Click);
|
this.buttonBmfWrite.Click += new System.EventHandler(this.buttonBmfWrite_Click);
|
||||||
//
|
//
|
||||||
// button10
|
// buttonBmfRead
|
||||||
//
|
//
|
||||||
this.button10.Location = new System.Drawing.Point(330, 24);
|
this.buttonBmfRead.Location = new System.Drawing.Point(330, 24);
|
||||||
this.button10.Name = "button10";
|
this.buttonBmfRead.Name = "buttonBmfRead";
|
||||||
this.button10.Size = new System.Drawing.Size(75, 23);
|
this.buttonBmfRead.Size = new System.Drawing.Size(75, 23);
|
||||||
this.button10.TabIndex = 9;
|
this.buttonBmfRead.TabIndex = 9;
|
||||||
this.button10.Text = "后门读";
|
this.buttonBmfRead.Text = "后门读";
|
||||||
this.button10.UseVisualStyleBackColor = true;
|
this.buttonBmfRead.UseVisualStyleBackColor = true;
|
||||||
this.button10.Click += new System.EventHandler(this.button10_Click);
|
this.buttonBmfRead.Click += new System.EventHandler(this.buttonBmfRead_Click);
|
||||||
//
|
//
|
||||||
// button9
|
// buttonMfoc
|
||||||
//
|
//
|
||||||
this.button9.Location = new System.Drawing.Point(249, 53);
|
this.buttonMfoc.Location = new System.Drawing.Point(249, 53);
|
||||||
this.button9.Name = "button9";
|
this.buttonMfoc.Name = "buttonMfoc";
|
||||||
this.button9.Size = new System.Drawing.Size(75, 23);
|
this.buttonMfoc.Size = new System.Drawing.Size(75, 23);
|
||||||
this.button9.TabIndex = 8;
|
this.buttonMfoc.TabIndex = 8;
|
||||||
this.button9.Text = "MFOC";
|
this.buttonMfoc.Text = "MFOC";
|
||||||
this.button9.UseVisualStyleBackColor = true;
|
this.buttonMfoc.UseVisualStyleBackColor = true;
|
||||||
this.button9.Click += new System.EventHandler(this.button9_Click);
|
this.buttonMfoc.Click += new System.EventHandler(this.buttonMfoc_Click);
|
||||||
//
|
//
|
||||||
// button8
|
// buttonUidWrite
|
||||||
//
|
//
|
||||||
this.button8.Location = new System.Drawing.Point(168, 53);
|
this.buttonUidWrite.Location = new System.Drawing.Point(168, 53);
|
||||||
this.button8.Name = "button8";
|
this.buttonUidWrite.Name = "buttonUidWrite";
|
||||||
this.button8.Size = new System.Drawing.Size(75, 23);
|
this.buttonUidWrite.Size = new System.Drawing.Size(75, 23);
|
||||||
this.button8.TabIndex = 5;
|
this.buttonUidWrite.TabIndex = 5;
|
||||||
this.button8.Text = "UID写号";
|
this.buttonUidWrite.Text = "UID写号";
|
||||||
this.button8.UseVisualStyleBackColor = true;
|
this.buttonUidWrite.UseVisualStyleBackColor = true;
|
||||||
this.button8.Click += new System.EventHandler(this.button8_Click);
|
this.buttonUidWrite.Click += new System.EventHandler(this.buttonUidWrite_Click);
|
||||||
//
|
//
|
||||||
// button7
|
// buttonUidFormat
|
||||||
//
|
//
|
||||||
this.button7.Location = new System.Drawing.Point(249, 24);
|
this.buttonUidFormat.Location = new System.Drawing.Point(249, 24);
|
||||||
this.button7.Name = "button7";
|
this.buttonUidFormat.Name = "buttonUidFormat";
|
||||||
this.button7.Size = new System.Drawing.Size(75, 23);
|
this.buttonUidFormat.Size = new System.Drawing.Size(75, 23);
|
||||||
this.button7.TabIndex = 7;
|
this.buttonUidFormat.TabIndex = 7;
|
||||||
this.button7.Text = "UID全格";
|
this.buttonUidFormat.Text = "UID全格";
|
||||||
this.button7.UseVisualStyleBackColor = true;
|
this.buttonUidFormat.UseVisualStyleBackColor = true;
|
||||||
this.button7.Click += new System.EventHandler(this.button7_Click);
|
this.buttonUidFormat.Click += new System.EventHandler(this.buttonUidFormat_Click);
|
||||||
//
|
//
|
||||||
// button6
|
// buttonUidReset
|
||||||
//
|
//
|
||||||
this.button6.Location = new System.Drawing.Point(168, 24);
|
this.buttonUidReset.Location = new System.Drawing.Point(168, 24);
|
||||||
this.button6.Name = "button6";
|
this.buttonUidReset.Name = "buttonUidReset";
|
||||||
this.button6.Size = new System.Drawing.Size(75, 23);
|
this.buttonUidReset.Size = new System.Drawing.Size(75, 23);
|
||||||
this.button6.TabIndex = 6;
|
this.buttonUidReset.TabIndex = 6;
|
||||||
this.button6.Text = "UID重置";
|
this.buttonUidReset.Text = "UID重置";
|
||||||
this.button6.UseVisualStyleBackColor = true;
|
this.buttonUidReset.UseVisualStyleBackColor = true;
|
||||||
this.button6.Click += new System.EventHandler(this.button6_Click);
|
this.buttonUidReset.Click += new System.EventHandler(this.buttonUidReset_Click);
|
||||||
//
|
//
|
||||||
// button5
|
// buttonMfWrite
|
||||||
//
|
//
|
||||||
this.button5.Location = new System.Drawing.Point(87, 24);
|
this.buttonMfWrite.Location = new System.Drawing.Point(87, 24);
|
||||||
this.button5.Name = "button5";
|
this.buttonMfWrite.Name = "buttonMfWrite";
|
||||||
this.button5.Size = new System.Drawing.Size(75, 23);
|
this.buttonMfWrite.Size = new System.Drawing.Size(75, 23);
|
||||||
this.button5.TabIndex = 5;
|
this.buttonMfWrite.TabIndex = 5;
|
||||||
this.button5.Text = "写卡";
|
this.buttonMfWrite.Text = "写卡";
|
||||||
this.button5.UseVisualStyleBackColor = true;
|
this.buttonMfWrite.UseVisualStyleBackColor = true;
|
||||||
this.button5.Click += new System.EventHandler(this.button5_Click);
|
this.buttonMfWrite.Click += new System.EventHandler(this.buttonMfWrite_Click);
|
||||||
//
|
//
|
||||||
// button4
|
// buttonSelectKey
|
||||||
//
|
//
|
||||||
this.button4.Location = new System.Drawing.Point(6, 53);
|
this.buttonSelectKey.Location = new System.Drawing.Point(6, 53);
|
||||||
this.button4.Name = "button4";
|
this.buttonSelectKey.Name = "buttonSelectKey";
|
||||||
this.button4.Size = new System.Drawing.Size(156, 23);
|
this.buttonSelectKey.Size = new System.Drawing.Size(156, 23);
|
||||||
this.button4.TabIndex = 4;
|
this.buttonSelectKey.TabIndex = 4;
|
||||||
this.button4.Text = "选择key.mfd";
|
this.buttonSelectKey.Text = "选择key.mfd";
|
||||||
this.button4.UseVisualStyleBackColor = true;
|
this.buttonSelectKey.UseVisualStyleBackColor = true;
|
||||||
this.button4.Click += new System.EventHandler(this.button4_Click);
|
this.buttonSelectKey.Click += new System.EventHandler(this.buttonSelectKey_Click);
|
||||||
//
|
//
|
||||||
// groupBox3
|
// groupBox3
|
||||||
//
|
//
|
||||||
this.groupBox3.Controls.Add(this.button15);
|
this.groupBox3.Controls.Add(this.buttonKill);
|
||||||
this.groupBox3.Controls.Add(this.button14);
|
this.groupBox3.Controls.Add(this.buttonConSave);
|
||||||
this.groupBox3.Controls.Add(this.button13);
|
this.groupBox3.Controls.Add(this.buttonConClr);
|
||||||
this.groupBox3.Location = new System.Drawing.Point(641, 12);
|
this.groupBox3.Location = new System.Drawing.Point(641, 12);
|
||||||
this.groupBox3.Name = "groupBox3";
|
this.groupBox3.Name = "groupBox3";
|
||||||
this.groupBox3.Size = new System.Drawing.Size(169, 83);
|
this.groupBox3.Size = new System.Drawing.Size(169, 83);
|
||||||
@ -238,41 +239,51 @@
|
|||||||
this.groupBox3.TabStop = false;
|
this.groupBox3.TabStop = false;
|
||||||
this.groupBox3.Text = "运行/终端";
|
this.groupBox3.Text = "运行/终端";
|
||||||
//
|
//
|
||||||
// button15
|
// buttonKill
|
||||||
//
|
//
|
||||||
this.button15.Location = new System.Drawing.Point(6, 53);
|
this.buttonKill.Location = new System.Drawing.Point(6, 53);
|
||||||
this.button15.Name = "button15";
|
this.buttonKill.Name = "buttonKill";
|
||||||
this.button15.Size = new System.Drawing.Size(75, 23);
|
this.buttonKill.Size = new System.Drawing.Size(75, 23);
|
||||||
this.button15.TabIndex = 2;
|
this.buttonKill.TabIndex = 2;
|
||||||
this.button15.Text = "停止运行";
|
this.buttonKill.Text = "停止运行";
|
||||||
this.button15.UseVisualStyleBackColor = true;
|
this.buttonKill.UseVisualStyleBackColor = true;
|
||||||
this.button15.Click += new System.EventHandler(this.button15_Click);
|
this.buttonKill.Click += new System.EventHandler(this.buttonKill_Click);
|
||||||
//
|
//
|
||||||
// button14
|
// buttonConSave
|
||||||
//
|
//
|
||||||
this.button14.Location = new System.Drawing.Point(87, 24);
|
this.buttonConSave.Location = new System.Drawing.Point(87, 24);
|
||||||
this.button14.Name = "button14";
|
this.buttonConSave.Name = "buttonConSave";
|
||||||
this.button14.Size = new System.Drawing.Size(75, 23);
|
this.buttonConSave.Size = new System.Drawing.Size(75, 23);
|
||||||
this.button14.TabIndex = 1;
|
this.buttonConSave.TabIndex = 1;
|
||||||
this.button14.Text = "保存日志";
|
this.buttonConSave.Text = "保存日志";
|
||||||
this.button14.UseVisualStyleBackColor = true;
|
this.buttonConSave.UseVisualStyleBackColor = true;
|
||||||
this.button14.Click += new System.EventHandler(this.button14_Click);
|
this.buttonConSave.Click += new System.EventHandler(this.buttonConSave_Click);
|
||||||
//
|
//
|
||||||
// button13
|
// buttonConClr
|
||||||
//
|
//
|
||||||
this.button13.Location = new System.Drawing.Point(6, 24);
|
this.buttonConClr.Location = new System.Drawing.Point(6, 24);
|
||||||
this.button13.Name = "button13";
|
this.buttonConClr.Name = "buttonConClr";
|
||||||
this.button13.Size = new System.Drawing.Size(75, 23);
|
this.buttonConClr.Size = new System.Drawing.Size(75, 23);
|
||||||
this.button13.TabIndex = 0;
|
this.buttonConClr.TabIndex = 0;
|
||||||
this.button13.Text = "清空终端";
|
this.buttonConClr.Text = "清空终端";
|
||||||
this.button13.UseVisualStyleBackColor = true;
|
this.buttonConClr.UseVisualStyleBackColor = true;
|
||||||
this.button13.Click += new System.EventHandler(this.button13_Click);
|
this.buttonConClr.Click += new System.EventHandler(this.buttonConClr_Click);
|
||||||
|
//
|
||||||
|
// groupBox4
|
||||||
|
//
|
||||||
|
this.groupBox4.Location = new System.Drawing.Point(641, 101);
|
||||||
|
this.groupBox4.Name = "groupBox4";
|
||||||
|
this.groupBox4.Size = new System.Drawing.Size(169, 293);
|
||||||
|
this.groupBox4.TabIndex = 6;
|
||||||
|
this.groupBox4.TabStop = false;
|
||||||
|
this.groupBox4.Text = "工具";
|
||||||
//
|
//
|
||||||
// Form1
|
// Form1
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(835, 406);
|
this.ClientSize = new System.Drawing.Size(835, 406);
|
||||||
|
this.Controls.Add(this.groupBox4);
|
||||||
this.Controls.Add(this.groupBox3);
|
this.Controls.Add(this.groupBox3);
|
||||||
this.Controls.Add(this.groupBox2);
|
this.Controls.Add(this.groupBox2);
|
||||||
this.Controls.Add(this.richTextBox1);
|
this.Controls.Add(this.richTextBox1);
|
||||||
@ -293,25 +304,26 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.GroupBox groupBox1;
|
private System.Windows.Forms.GroupBox groupBox1;
|
||||||
private System.Windows.Forms.Button button2;
|
private System.Windows.Forms.Button buttonScanCard;
|
||||||
private System.Windows.Forms.Button button1;
|
private System.Windows.Forms.Button buttonListDev;
|
||||||
private System.Windows.Forms.RichTextBox richTextBox1;
|
private System.Windows.Forms.RichTextBox richTextBox1;
|
||||||
private System.Windows.Forms.Button button3;
|
private System.Windows.Forms.Button buttonMfRead;
|
||||||
private System.Windows.Forms.GroupBox groupBox2;
|
private System.Windows.Forms.GroupBox groupBox2;
|
||||||
private System.Windows.Forms.Button button8;
|
private System.Windows.Forms.Button buttonUidWrite;
|
||||||
private System.Windows.Forms.Button button7;
|
private System.Windows.Forms.Button buttonUidFormat;
|
||||||
private System.Windows.Forms.Button button6;
|
private System.Windows.Forms.Button buttonUidReset;
|
||||||
private System.Windows.Forms.Button button5;
|
private System.Windows.Forms.Button buttonMfWrite;
|
||||||
private System.Windows.Forms.Button button4;
|
private System.Windows.Forms.Button buttonSelectKey;
|
||||||
private System.Windows.Forms.Button button12;
|
private System.Windows.Forms.Button buttonCLI;
|
||||||
private System.Windows.Forms.Button button11;
|
private System.Windows.Forms.Button buttonBmfWrite;
|
||||||
private System.Windows.Forms.Button button10;
|
private System.Windows.Forms.Button buttonBmfRead;
|
||||||
private System.Windows.Forms.Button button9;
|
private System.Windows.Forms.Button buttonMfoc;
|
||||||
private System.Windows.Forms.GroupBox groupBox3;
|
private System.Windows.Forms.GroupBox groupBox3;
|
||||||
private System.Windows.Forms.Button button14;
|
private System.Windows.Forms.Button buttonConSave;
|
||||||
private System.Windows.Forms.Button button13;
|
private System.Windows.Forms.Button buttonConClr;
|
||||||
private System.Windows.Forms.Button button15;
|
private System.Windows.Forms.Button buttonKill;
|
||||||
private System.Windows.Forms.LinkLabel linkLabel1;
|
private System.Windows.Forms.LinkLabel linkLabel1;
|
||||||
|
private System.Windows.Forms.GroupBox groupBox4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -24,22 +24,7 @@ namespace MifareOneTool
|
|||||||
private Process process = new Process();
|
private Process process = new Process();
|
||||||
private bool lprocess = false;
|
private bool lprocess = false;
|
||||||
|
|
||||||
private void lockBtn(bool locks)
|
private void buttonListDev_Click(object sender, EventArgs e)
|
||||||
{
|
|
||||||
//if (locks)
|
|
||||||
//{
|
|
||||||
// button1.Enabled = false;
|
|
||||||
// button2.Enabled = false;
|
|
||||||
//}
|
|
||||||
//else
|
|
||||||
//{
|
|
||||||
// button1.Enabled = true;
|
|
||||||
// button2.Enabled = true;
|
|
||||||
//}
|
|
||||||
;//do nothing
|
|
||||||
}
|
|
||||||
|
|
||||||
private void button1_Click(object sender, EventArgs e)
|
|
||||||
{
|
{
|
||||||
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
||||||
BackgroundWorker bgw = new BackgroundWorker();
|
BackgroundWorker bgw = new BackgroundWorker();
|
||||||
@ -90,7 +75,7 @@ namespace MifareOneTool
|
|||||||
linkLabel1.Links.Add(0, linkLabel1.Text.Length, "https://github.com/xcicode/MifareOneTool/releases/latest");
|
linkLabel1.Links.Add(0, linkLabel1.Text.Length, "https://github.com/xcicode/MifareOneTool/releases/latest");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void button2_Click(object sender, EventArgs e)
|
private void buttonScanCard_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
||||||
BackgroundWorker bgw = new BackgroundWorker();
|
BackgroundWorker bgw = new BackgroundWorker();
|
||||||
@ -121,13 +106,14 @@ namespace MifareOneTool
|
|||||||
b.ReportProgress(100, "##运行完毕##");
|
b.ReportProgress(100, "##运行完毕##");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void button3_Click(object sender, EventArgs e)
|
private void buttonMfRead_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
||||||
string rmfd = "";
|
string rmfd = "";
|
||||||
SaveFileDialog ofd = new SaveFileDialog();
|
SaveFileDialog ofd = new SaveFileDialog();
|
||||||
ofd.AddExtension = true;
|
ofd.AddExtension = true;
|
||||||
ofd.DefaultExt = ".mfd";
|
ofd.DefaultExt = ".mfd";
|
||||||
|
ofd.Title = "请选择MFD文件保存位置及文件名";
|
||||||
ofd.OverwritePrompt = true;
|
ofd.OverwritePrompt = true;
|
||||||
ofd.Filter = "MFD文件|*.mfd";
|
ofd.Filter = "MFD文件|*.mfd";
|
||||||
if (ofd.ShowDialog() == DialogResult.OK)
|
if (ofd.ShowDialog() == DialogResult.OK)
|
||||||
@ -184,7 +170,7 @@ namespace MifareOneTool
|
|||||||
b.ReportProgress(100, "##运行完毕##");
|
b.ReportProgress(100, "##运行完毕##");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void button12_Click(object sender, EventArgs e)
|
private void buttonCLI_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
ProcessStartInfo psi = new ProcessStartInfo("cmd.exe");
|
ProcessStartInfo psi = new ProcessStartInfo("cmd.exe");
|
||||||
psi.WorkingDirectory = "nfc-bin";
|
psi.WorkingDirectory = "nfc-bin";
|
||||||
@ -193,26 +179,33 @@ namespace MifareOneTool
|
|||||||
|
|
||||||
private string keymfd = "";
|
private string keymfd = "";
|
||||||
|
|
||||||
private void button4_Click(object sender, EventArgs e)
|
private void buttonSelectKey_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
OpenFileDialog ofd = new OpenFileDialog();
|
OpenFileDialog ofd = new OpenFileDialog();
|
||||||
ofd.CheckFileExists = true;
|
ofd.CheckFileExists = true;
|
||||||
ofd.Filter = "MFD文件|*.mfd";
|
ofd.Filter = "MFD文件|*.mfd";
|
||||||
|
ofd.Title = "请选择一个包含目标卡密钥的MFD文件(通常是已经破解出的该卡的MFD文件)";
|
||||||
ofd.Multiselect = false;
|
ofd.Multiselect = false;
|
||||||
if (ofd.ShowDialog() == DialogResult.OK)
|
if (ofd.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
keymfd = ofd.FileName;
|
keymfd = ofd.FileName;
|
||||||
button4.Text = "K=" + ofd.SafeFileName;
|
buttonSelectKey.Text = "K=" + ofd.SafeFileName;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
keymfd = "";
|
||||||
|
buttonSelectKey.Text = "选择key.mfd";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void button5_Click(object sender, EventArgs e)
|
private void buttonMfWrite_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
||||||
string rmfd = "";
|
string rmfd = "";
|
||||||
OpenFileDialog ofd = new OpenFileDialog();
|
OpenFileDialog ofd = new OpenFileDialog();
|
||||||
ofd.CheckFileExists = true;
|
ofd.CheckFileExists = true;
|
||||||
ofd.Filter = "MFD文件|*.mfd";
|
ofd.Filter = "MFD文件|*.mfd";
|
||||||
|
ofd.Title = "请选择需要写入的MFD文件";
|
||||||
ofd.Multiselect = false;
|
ofd.Multiselect = false;
|
||||||
if (ofd.ShowDialog() == DialogResult.OK)
|
if (ofd.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
@ -268,7 +261,7 @@ namespace MifareOneTool
|
|||||||
b.ReportProgress(100, "##运行完毕##");
|
b.ReportProgress(100, "##运行完毕##");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void button9_Click(object sender, EventArgs e)
|
private void buttonMfoc_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
||||||
string rmfd = "";
|
string rmfd = "";
|
||||||
@ -277,6 +270,7 @@ namespace MifareOneTool
|
|||||||
ofd.DefaultExt = ".mfd";
|
ofd.DefaultExt = ".mfd";
|
||||||
ofd.OverwritePrompt = true;
|
ofd.OverwritePrompt = true;
|
||||||
ofd.Filter = "MFD文件|*.mfd";
|
ofd.Filter = "MFD文件|*.mfd";
|
||||||
|
ofd.Title = "请选择破解MFD的保存位置及文件名";
|
||||||
if (ofd.ShowDialog() == DialogResult.OK)
|
if (ofd.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
rmfd = ofd.FileName;
|
rmfd = ofd.FileName;
|
||||||
@ -315,7 +309,7 @@ namespace MifareOneTool
|
|||||||
b.ReportProgress(100, "##运行完毕##");
|
b.ReportProgress(100, "##运行完毕##");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void button6_Click(object sender, EventArgs e)
|
private void buttonUidReset_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
||||||
BackgroundWorker bgw = new BackgroundWorker();
|
BackgroundWorker bgw = new BackgroundWorker();
|
||||||
@ -361,7 +355,7 @@ namespace MifareOneTool
|
|||||||
b.ReportProgress(100, "##运行完毕##");
|
b.ReportProgress(100, "##运行完毕##");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void button7_Click(object sender, EventArgs e)
|
private void buttonUidFormat_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
||||||
if (MessageBox.Show("该操作将会清空UID卡内全部数据!!!\n清空后不可恢复!请确认是否要继续操作?", "危险操作警告", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning) == DialogResult.Cancel)
|
if (MessageBox.Show("该操作将会清空UID卡内全部数据!!!\n清空后不可恢复!请确认是否要继续操作?", "危险操作警告", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning) == DialogResult.Cancel)
|
||||||
@ -398,7 +392,7 @@ namespace MifareOneTool
|
|||||||
b.ReportProgress(100, "##运行完毕##");
|
b.ReportProgress(100, "##运行完毕##");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void button10_Click(object sender, EventArgs e)
|
private void buttonBmfRead_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
||||||
string rmfd = "";
|
string rmfd = "";
|
||||||
@ -407,6 +401,7 @@ namespace MifareOneTool
|
|||||||
ofd.DefaultExt = ".mfd";
|
ofd.DefaultExt = ".mfd";
|
||||||
ofd.OverwritePrompt = true;
|
ofd.OverwritePrompt = true;
|
||||||
ofd.Filter = "MFD文件|*.mfd";
|
ofd.Filter = "MFD文件|*.mfd";
|
||||||
|
ofd.Title = "请选择MFD文件的保存位置及文件名";
|
||||||
if (ofd.ShowDialog() == DialogResult.OK)
|
if (ofd.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
rmfd = ofd.FileName;
|
rmfd = ofd.FileName;
|
||||||
@ -445,13 +440,14 @@ namespace MifareOneTool
|
|||||||
b.ReportProgress(100, "##运行完毕##");
|
b.ReportProgress(100, "##运行完毕##");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void button11_Click(object sender, EventArgs e)
|
private void buttonBmfWrite_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
||||||
string rmfd = "";
|
string rmfd = "";
|
||||||
OpenFileDialog ofd = new OpenFileDialog();
|
OpenFileDialog ofd = new OpenFileDialog();
|
||||||
ofd.CheckFileExists = true;
|
ofd.CheckFileExists = true;
|
||||||
ofd.Filter = "MFD文件|*.mfd";
|
ofd.Filter = "MFD文件|*.mfd";
|
||||||
|
ofd.Title = "请选择需要写入的MFD文件";
|
||||||
ofd.Multiselect = false;
|
ofd.Multiselect = false;
|
||||||
if (ofd.ShowDialog() == DialogResult.OK)
|
if (ofd.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
@ -495,19 +491,19 @@ namespace MifareOneTool
|
|||||||
b.ReportProgress(100, "##运行完毕##");
|
b.ReportProgress(100, "##运行完毕##");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void button13_Click(object sender, EventArgs e)
|
private void buttonConClr_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
richTextBox1.Clear();
|
richTextBox1.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void button14_Click(object sender, EventArgs e)
|
private void buttonConSave_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
string logtext = richTextBox1.Text;
|
string logtext = richTextBox1.Text;
|
||||||
File.WriteAllText("m1t.log", logtext, Encoding.UTF8);
|
File.WriteAllText("m1t.log", logtext, Encoding.UTF8);
|
||||||
MessageBox.Show("终端内容已保存至m1t.log文件", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
MessageBox.Show("终端内容已保存至m1t.log文件", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void button15_Click(object sender, EventArgs e)
|
private void buttonKill_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (lprocess)
|
if (lprocess)
|
||||||
{
|
{
|
||||||
@ -519,7 +515,7 @@ namespace MifareOneTool
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void button8_Click(object sender, EventArgs e)
|
private void buttonUidWrite_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
string pat = "[0-9A-Fa-f]{8}";
|
string pat = "[0-9A-Fa-f]{8}";
|
||||||
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
if (lprocess) { MessageBox.Show("有任务运行中,不可执行。", "设备忙", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } Form1.ActiveForm.Text = "MifareOne Tool - 运行中";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user