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 125/// /// /// private void HTTPAnalyser_Form1_Closing(object sender,System.ComponentModel.CancelEventArgs e){if(mcStop.Enabled == true){//axPacketXCtrl1.Stop();device.PcapStopCapture();device.PcapClose();}}/// /// Shows About messagebox/// /// /// private void mhAbout_Click(object sender, System.EventArgs e){MessageBox.Show("Author: Zbigniew Kwecka\nSupervisor: Dr William <strong>Buchanan</strong>");}/// /// cbAdapters selected h<strong>and</strong>ler - Changes active adapter/// /// /// private void cbAdapters_SelectedIndexChanged(object sender, System.EventArgs e){if(mcStop.Enabled == true){//axPacketXCtrl1.Stop();device.PcapStopCapture();device.PcapClose();mcStop.Enabled = false;}if(cbAdapters.SelectedIndex >-1){if(getNetConnections[cbAdapters.SelectedIndex] is NetworkDevice){mcStart.Enabled = true;NetworkDevice netConn =(NetworkDevice)getNetConnections[cbAdapters.SelectedIndex];device = netConn;device.PcapOnPacketArrival +=new SharpPcap.PacketArrivalEvent(device_PcapOnPacketArrival);}else{MessageBox.Show("Selected adapter \nis not suitable \nfor packet sniffing");cbAdapters.SelectedIndex = -1;}}}/// /// Menu File Exit - Terminates the application/// /// /// private void menuItem3_Click(object sender, System.EventArgs e){if(mcStop.Enabled == true){//axPacketXCtrl1.Stop();device.PcapStopCapture();device.PcapClose();}<strong>Application</strong>.Exit();}///

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

Saved successfully!

Ooh no, something went wrong!