13.07.2015 Views

Application Layer Covert Channel Analysis and ... - Bill Buchanan

Application Layer Covert Channel Analysis and ... - Bill Buchanan

Application Layer Covert Channel Analysis and ... - Bill Buchanan

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

Z. Kwecka, BSc (Hons) Network Computing, 2006 118}else if(ConsoleBuffer.filter_out.ContainsKey("All")){ConsoleBuffer.filter_out.Remove("All");}}private void checkBox4_CheckedChanged(object sender, System.EventArgs e){if(checkBox4.Checked == true && !ConsoleBuffer.filter_out.ContainsKey("Undefined")){ConsoleBuffer.filter_out.Add("Undefined","1");}else if(ConsoleBuffer.filter_out.ContainsKey("Undefined")){ConsoleBuffer.filter_out.Remove("Undefined");}}private void checkBox5_CheckedChanged(object sender, System.EventArgs e){if(checkBox5.Checked == true && !ConsoleBuffer.filter_out.ContainsKey("Spacing")){ConsoleBuffer.filter_out.Add("Spacing","1");ConsoleBuffer.buffer.Add("Linerr spacing - On");}else if(ConsoleBuffer.filter_out.ContainsKey("Spacing")){ConsoleBuffer.filter_out.Remove("Spacing");ConsoleBuffer.buffer.Add("Linear spacing - Off");}}private void radioButton1_CheckedChanged(object sender, System.EventArgs e){if(radioButton1.Checked){ConsoleBuffer.reciver = true;}else{ConsoleBuffer.reciver = false;}}private void radioButton2_CheckedChanged(object sender, System.EventArgs e){if(radioButton2.Checked){ConsoleBuffer.sender = true;}else{ConsoleBuffer.sender = false;}}private void button1_Click(object sender, System.EventArgs e){ConsoleBuffer.recipient = textBox1.Text;}}public class ConsoleBuffer{public static ArrayList buffer = new ArrayList();public static NameValueCollection agents = new NameValueCollection();public static string filter = "";public static StringDictionary filter_out = new StringDictionary();public static string addedHeader = "";public static string covert_text= "";public static int covert_progres = 0;public static bool sender = false;public static bool reciver = false;public static string recipient = "";

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

Saved successfully!

Ooh no, something went wrong!