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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Z. Kwecka, BSc (Hons) Network Computing, 2006 80public Form1(){InitializeComponent();}/// /// Clean up any resources being used./// protected override void Dispose( bool disposing ){if( disposing ){if (components != null){components.Dispose();}}base.Dispose( disposing );}/// /// The main entry point for the application./// [STAThread]static void Main(){<strong>Application</strong>.Run(new Form1());}private Listener listener;private int bufferRead = 0;private void bRun_Click(object sender, System.EventArgs e){string classtype = "FilterProxy_GUI.Http.HttpListener";if (classtype == "")return;else if(Type.GetType(classtype) == null){lbConsole.Items.Add("The specified listener class does not exist!");return;}string construct;if(cbListenerAddress.SelectedIndex > -1){construct = "host:" + cbListenerAddress.SelectedItem.ToString() + ";int:" +tbListenerPort.Text.Trim();}else{construct = "host:127.0.0.1;int:80";}object listenObject = CreateListener(classtype, construct);if (listenObject == null){lbConsole.Items.Add("Invalid construction string.");return;}try{listener = (Listener)listenObject;}catch{lbConsole.Items.Add("The specified object is not a valid Listener object.");return;}try{

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

Saved successfully!

Ooh no, something went wrong!