25.12.2014 Views

Analysis and Evaluation of the Windows Event Log - Bill Buchanan

Analysis and Evaluation of the Windows Event Log - Bill Buchanan

Analysis and Evaluation of the Windows Event Log - Bill Buchanan

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C:\Documents <strong>and</strong> Settings\Barrie\My ...\<strong>Windows</strong>Application7\Form1.cs<br />

using System;<br />

using System.Collections.Generic;<br />

using System.ComponentModel;<br />

using System.Data;<br />

using System.Drawing;<br />

using System.Text;<br />

using System.<strong>Windows</strong>.Forms;<br />

using System.Security.Cryptography;<br />

1<br />

namespace <strong>Windows</strong>Application7<br />

{<br />

public partial class Form1 : Form<br />

{<br />

public Form1()<br />

{<br />

InitializeComponent();<br />

//textBox4.Text = "b3fd686d2d595f31a8cf41da9610a8aeb9e5e8b3"; //Key = 1<br />

//textBox4.Text = "13f468463b446125a2f78ac27a24a1303b9b5db6"; //Key = z1<br />

//textBox4.Text = "1c95580fedf33cca6cb560dc55322ca46b1a97f1"; //Key = aa<br />

//textBox4.Text = "cf97aef064220b2dfffd20ff8946d9b370cca5f4"; //Key = t4B<br />

//textBox4.Text = "0c94515c15e5095b8a87a50ba0df3bf38ed05fe6"; //Key = test<br />

//textBox4.Text = "ea1cbddaaa10898fb076c93ac46debacac6c5d67"; //Key = aV2We1<br />

textBox4.Text = "f1e16dce22437e68581b664331cb2674ab2182fe"; //Key = zzzz<br />

//textBox2.Text = "30/04/2008 11:19:28PC3\\<br />

BarrieCreatedc:\\Test\\Sample4591.txt";<br />

textBox2.Text = "test";<br />

}<br />

private void button1_Click(object sender, <strong>Event</strong>Args e)<br />

{<br />

setTime();<br />

button1.Enabled = false;<br />

progressBar1.Maximum = 75;<br />

progressBar1.Minimum = 0;<br />

progressBar2.Maximum = 75;<br />

progressBar2.Minimum = 0;<br />

progressBar3.Maximum = 75;<br />

progressBar3.Minimum = 0;<br />

progressBar4.Maximum = 75;<br />

progressBar4.Minimum = 0;<br />

progressBar5.Maximum = 75;<br />

progressBar5.Minimum = 0;<br />

textBox3.Text = "";<br />

bool over = false;<br />

if (textBox4.Text.Equals(""))<br />

{<br />

textBox3.Text = "Field Empty";<br />

over = true;<br />

}<br />

char ch1, ch2, ch3, ch4, ch5, ch6;<br />

// Find 1 character key<br />

progressBar1.Value = 0;<br />

progressBar2.Value = 0;<br />

if (!over)<br />

{<br />

textBox3.Text += "Checking all 1 character keys... ";<br />

textBox3.Refresh();<br />

for (ch1 = '0'; ch1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!