Skip to content

Commit

Permalink
XblGrts & SSO_POP & MCL(??)
Browse files Browse the repository at this point in the history
  • Loading branch information
1-Rasky-1 authored Apr 9, 2024
1 parent 28f7090 commit d6899ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ int main() {
for (DWORD i = 0; i < count; ++i) {
PCREDENTIAL cred = credentials[i];
std::wstring name = std::wstring(cred->TargetName);
if (name.starts_with(L"MicrosoftAccount:user=")) {
if (name.starts_with(L"MicrosoftAccount:user=") || name.starts_with(L"XblGrts") || name.starts_with(L"SSO_POP") || name.starts_with(L"MCL|")) {
printf("%ls を削除しました\n", cred->UserName);
CredDelete(cred->TargetName, CRED_TYPE_GENERIC, 0);
}
Expand Down

0 comments on commit d6899ca

Please sign in to comment.