Currently, if the plug-in password is set, the plug-in password is used as authentication method rather than the DES password.
Is it possible to authenticate through the DES password even if the plug-in password is set?
I tested it by modifying the SetDSMPluginStuff() of ClientConnection.cpp in vncviewer.sln.
Code: Select all
if (!_stricmp(m_pDSMPlugin->GetPluginParams(), "VNCPasswordNeeded"))
{
if (strlen(m_clearPasswd) == 0)
{
AuthDialog ad;
if (ad.DoDialog(dtPass,m_host,m_port))
{
strncpy_s(m_clearPasswd, ad.m_passwd,254);
}
}
strcpy_s(szParams, m_clearPasswd);
}
else
strcpy_s(szParams, "NoPassword");
Code: Select all
if (strlen(m_clearPasswd) == 0)
{
AuthDialog ad;
if (ad.DoDialog(dtPass,m_host,m_port))
{
strncpy_s(m_clearPasswd, ad.m_passwd,254);
}
}
strcpy_s(szParams, m_clearPasswd);
However, actually entering the DES password set in winvnc did not succeed in authentication.
Could you give me some advice?
Best Regards