Beispiel #1
0
        private void poisonButton_Click_1(object sender, EventArgs e)
        {
            try
            {
                IPAddress from = IPAddress.Parse(poisonIP.Text);
                IPAddress to   = IPAddress.Parse(toIP.Text);

                status.Text = String.Format("STATUS: Spoofing {0} -> {1}", from.ToString(), to.ToString());
                DPoison dp = new DPoison(ivy.initializePoisoner);
                dp.BeginInvoke(Protocol.ARP, from, to, null, null);
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.Message);
            }
        }
Beispiel #2
0
        private void poisonButton_Click_1(object sender, EventArgs e)
        {
            try
            {
                IPAddress from = IPAddress.Parse(poisonIP.Text);
                IPAddress to = IPAddress.Parse(toIP.Text);

                status.Text = String.Format("STATUS: Spoofing {0} -> {1}", from.ToString(), to.ToString());
                DPoison dp = new DPoison(ivy.initializePoisoner);
                dp.BeginInvoke(Protocol.ARP, from, to, null, null);
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.Message);
            }
        }