diff --git a/c/meterpreter/source/extensions/mimikatz/modules/mod_mimikatz_sekurlsa.cpp b/c/meterpreter/source/extensions/mimikatz/modules/mod_mimikatz_sekurlsa.cpp index b89d7847..58b42ebf 100644 --- a/c/meterpreter/source/extensions/mimikatz/modules/mod_mimikatz_sekurlsa.cpp +++ b/c/meterpreter/source/extensions/mimikatz/modules/mod_mimikatz_sekurlsa.cpp @@ -198,10 +198,10 @@ wstring escape(const wstring& s) wstring::const_iterator it = s.begin(); while (it != s.end()) { - char c = *it++; - if (c == '"') + wchar_t c = *it++; + if (c == L'"') { - res += '"'; + res += L'"'; } res += c; }