You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewRunasCsException(String.Format("Selected logon type '{0}' is not granted to the user '{1}'. Use available logon type '{2}'.",logonType,username,availableLogonType.ToString()));
// Console.Out.WriteLine("[*] Warning: UAC Bypass is not compatible with logon type '" + logonType.ToString() + "'. Reverting to the NetworkCleartext logon type '8'. To force a specific logon type, use the flag combination --bypass-uac and --logon-type.");
Console.Out.WriteLine("[*] Warning: The function CreateProcessWithLogonW is not compatible with the requested logon type "+logonType.ToString()+". Reverting to the Interactive logon type (2). To force a specific logon type, use the flag combination --remote-impersonation and --logon-type.");
592
+
Console.Out.WriteLine("[*] Warning: The function CreateProcessWithLogonW is not compatible with the requested logon type '"+logonType.ToString()+"'. Reverting to the Interactive logon type '2'. To force a specific logon type, use the flag combination --remote-impersonation and --logon-type.");
593
+
// we check if the user has been granted the logon type requested, if not we show a message suggesting which logon type can be used to succesfully logon
// setup proper logon provider for new credentials (9) logons
695
+
if(logonType==LOGON32_LOGON_NEW_CREDENTIALS){
696
+
logonProvider=LOGON32_PROVIDER_WINNT50;
697
+
if(domainName=="")// fixing bugs in seclogon when using LOGON32_LOGON_NEW_CREDENTIALS...
698
+
domainName=".";
699
+
}
700
+
// we check if the user has been granted the logon type requested, if not we show a message suggesting which logon type can be used to succesfully logon
0 commit comments