Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Exploit
- {
- class Program
- {
- static void WriteCommands()
- {
- Console.WriteLine("clear - Clears the console.");
- Console.WriteLine("exit - Exists the program.");
- Console.WriteLine("commands/cmds - Writes a list of commands");
- }
- static void Initiate()
- {
- while (true)
- {
- Console.WriteLine("Please say commands (or cmds) for a list of the commands.");
- Console.Write(">");
- string Input = Console.ReadLine();
- if (Input == "cmds" || Input == "commands")
- {
- break;
- }
- else
- {
- Console.WriteLine("Invalid command. Please try again.");
- }
- }
- WriteCommands();
- while (true)
- {
- Console.Write(">");
- }
- }
- static void Main(string[] args)
- {
- Console.WriteLine("Hello, user. Welcome to Agluk's Exploit.");
- Console.WriteLine("Please verify your account.");
- Console.Write("Username: ");
- string Username = Console.ReadLine();
- Console.Write("Password: ");
- string Password = Console.ReadLine();
- if (Username == "Agluk15" && Password == "Agluk144")
- {
- Console.WriteLine("Successful login.");
- Initiate();
- }
- else
- {
- for (int Iteration = 5; Iteration > 0; Iteration--)
- {
- Console.WriteLine("Incorrect login. Closing in " + Iteration + " seconds.");
- System.Threading.Thread.Sleep(1000);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement