After more 1 000 000 (one million) views on forum for 1.5.0.x development versions... and 1.6.0.0 version
A new stable version, UltraVNC 1.6.1.0 and UltraVNC SC 1.6.1.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38080
Feedback is welcome

Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031

Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078

Development: UltraVNC development is always here... Any help is welcome.
A new development version, UltraVNC 1.6.3.0-dev has been released, please test it: https://forum.uvnc.com/viewtopic.php?t=38091
Feedback is welcome

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Password (DES vs Plugin)

Developers may discuss here
Post Reply
kdh4318
8
8
Posts: 12
Joined: 2024-11-12 01:17

Password (DES vs Plugin)

Post by kdh4318 »

Hello,

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");
I tested this part after modifying it as below.

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);
I confirmed that even if the plug-in password is set, the authentication proceeds to DES.
However, actually entering the DES password set in winvnc did not succeed in authentication.

Could you give me some advice?

Best Regards
Post Reply