lazix

hacking generator lol

Feb 10th, 2020
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.85 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4.  
  5.  
  6.  
  7. namespace masterhacker
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             Console.WriteLine("What are you?");
  14.             string hacker = Console.ReadLine().ToLower();
  15.             if (hacker == "masterhacker")
  16.             {
  17.  
  18.                 Console.ForegroundColor = ConsoleColor.Red;
  19.                 Console.WriteLine("You're in...");
  20.                 Console.ResetColor();
  21.                 Console.WriteLine("So... What do you want to do?");
  22.                 string hacker1 = Console.ReadLine().ToLower();
  23.                 if (hacker1 == "ip grab")
  24.                 {
  25.                     Random random = new Random();
  26.  
  27.                     for (int i = 0; i < 5; i++)
  28.                     {
  29.                         int ip = random.Next(10, 500);
  30.                         int ip1 = random.Next(10, 500);
  31.                         int ip2 = random.Next(10, 500);
  32.                         int ip3 = random.Next(10, 500);
  33.                         Console.ForegroundColor = ConsoleColor.Green;
  34.                         Console.WriteLine("Randomly generated IP {0}.{1}.{2}.{3}", ip, ip1, ip2, ip3);
  35.                         Console.ResetColor();
  36.                     }
  37.  
  38.                 }
  39.                 else if (hacker1 == "sound scary")
  40.                 {
  41.                     var hack = new string[] { " proxy", " firewall", " ip", " gateway", " ssh", " linux", " wpa", " supplicant", " ssd", " router", " vpn", " ovh", " ram", " hdd", " web", " connections", "cpp", " java", " iso", "script", " metasploit", " sql", " injection", " exploit" };
  42.                    
  43.                    
  44.                 }
  45.                 else
  46.                 {
  47.                     Console.WriteLine("BTFO glowey");
  48.                 }
  49.  
  50.             }
  51.         }
  52.     }
  53. }
Add Comment
Please, Sign In to add comment