Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace LittleForkBomb
- {
- using System;
- using System.Collections.Generic;
- using System.Text;
- using System.Windows.Forms;
- using System.Diagnostics;
- class Program
- {
- static void Main(string[] args)
- {
- Console.Clear();
- Console.Title = "LittleForkBomb by f0rkB0mb";
- string app = Application.StartupPath + @"\LittleForkBomb.exe";
- Console.ForegroundColor = ConsoleColor.Red;
- Console.WriteLine("\n\n\n\n\t\t\tWHAT HAVE YOU DONE?!");
- Process fork = new Process();
- fork.StartInfo.FileName = app;
- for (int i = 0; i < 6; i++)
- {
- //fork.Start();
- if (i == 5)
- {
- fork.Start();
- MessageBox.Show("If I was a real f0rkB0mb, I have started some processes," +
- "\r\nand dived into your system to say Hello STUPIDO by Startup.",
- "f0rkB0mb says: \"NEVER EXECUTE A FORKBOMB\"", MessageBoxButtons.OK, MessageBoxIcon.Warning);
- fork.Kill();
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement