Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

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

DSMPlugin registry value?

Post Reply
edward
8
8
Posts: 10
Joined: 2004-06-02 19:30

DSMPlugin registry value?

Post by edward »




I am attempting to automate installation/setup of the WinVNC server and the MSRC4Plugin.dsm.

Can somebody explain the DSMPlugin registry value fo me? The documentation appears to conflict with the actual usage.

The example at http:\WWWdownloads\UltraVNC\UltraVNC_Registry_settings.mht states:

"DSMPlugin : The filename of the DSM Plugin to be used to modify the communication data stream (PluginName.dsm)".

I interpret this to mean that it should be a Reg_SZ string value. However, having manually configured the MSRC4Plugin.dsm from the VNCviewer popup window, the registry entry is a REG_BINARY containing (when exported):

"DSMPlugin"=hex:4d,53,52,43,34,50,6c,75,67,69,6e,2e,64,73,6d,00,78,01, 3f,00,00,\
00,00,00,00,00,00,00,00,00,00,00,28,73,02,00,c8,67,48,00,94,fe,12,00,0 3,00,\
00,00,18,00,00,00,00,00,40,00,c8,67,48,00,94,fe,12,00,18,00,00,00,fc,f e,12,\
00,f8,52,3f,00,00,00,3f,00,80,fc,12,00,0d,52,75,6e,6e,69,6e,67,00,88,f a,77,\
78,1c,f5,77,ff,ff,ff,ff,3a,8a,f5,77,8b,84,44,00,00,00,3f,00,00,00,00,0 0,10,\
00,00,00,ab,f1,a9,70,58,54,3f,00,00,00,00,00,00,00,00,00,00,00,00,00,0 0,00,\
00,00,b0,ff,12,00,04,d9,44,00,98,eb,45,00,ff,ff,ff,ff,00,00,00,00,82,8 3,44,\
00,0b,00,00,00,6f,83,44,00,0b,00,00,00,ab,f1,a9,70,ec,65,45,00,f8,52,3 f,00,\
44,d0,46,00,fc,70,40,00,f8,cf,46,00,20,ff,12,00,b0,ff,12,00,b5,84,45,0 0,01,\
00,00,00,d6,5d,43,00,ab,f1,a9,70,00,00,00,00,c0,ff,12,00,00,f0,fd,7f,f f,ff,\
ff,ff,00,00,00,00,df,9b,44,00

Of this, only the first 15 hex bytes seem relevant.

Are any of the remaining hex bytes relevant?

If not, can the hex string be truncated after the terminating "00" byte?

Otherwise, how is the hex string constructed?

Edward
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6883
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

REG_BINARY save full size off a string
The string has size MAXPATH
On reg load the bin is interpreted as string.
Only the name is used...

After name, all other value's have no meaning, not used.
Post Reply