Enables you to create links that automagically generate and open Remote Desktop Connection configurations.
After using and falling in love with DokuWiki and it's elegant simplicity and extensibility, I found myself wanting to be able to create links in my Wiki pages that I could click on and immediately Remote Desktop into a server. There wasn't anything out there (that I could find), so I created this plugin.
This plugin is now hosted at GitHub, code has been removed from this page (but still available in “Old Revisions”):
https://github.com/justinshepard/rdplink
Feel free to submit pull requests for bugfixes or enhancements and I'll do my best to get them vetted and merged quickly. –Justin
{rdplink:SERVERNAME|TITLE}
{rdplink:SERVERNAME}
Additional you can enter the usercredentials (or just part of them) too:
{rdplink:SERVERNAME&domain=MYDOMAIN&username=MYUSERNAME&password=PASSSTRING|TITLE}
PASSSTRING must be pre-encrypted (if you create your own Windows Program, use AES via Microsoft crypt32.dll), or use one like Remko's RDP PW Encrypter
There is a password encryption utility included in the plugin package, along with source code for the command-line version.
If you find that the <?=…?> lines don't parse for you, change them to <?php … ?> and it should work.
I had to alter the last 2 lines as follows to make it work otherwise the server name was not inserted into the RDP file content. The blank line before “domain” was necessary and I think this parameter is not used anyway. I've never written any PHP before but I had a good guess at fixing it!
full address:s:<?php echo $_GET['server']?> domain:s:<?php echo $_GET['domain']?>
Some Remote Desktop clients need a file with Windows Line Breaks, so instead of
<?php echo $_GET['server'] . "\n"?>
use
<?php echo $_GET['server'] . "\r\n"?>
for all fields and it should work.