[HACKSSIGN]
authorPierre Schweitzer <pierre@reactos.org>
Sat, 22 Aug 2015 12:29:37 +0000 (12:29 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 22 Aug 2015 12:29:37 +0000 (12:29 +0000)
commita120e4e492c0ab99ee8f211e0897e7210bb1caf1
tree1e690989fdbfdd0b62d0c21d496960bfdb44dbee
parentb2e64aa3fc3e62faef98eb622b38323c118e56e0
[HACKSSIGN]
Stack hacks!
Let's introduce hackssign. This application (and its associated driver) are here to allow
users to assign drive letter to their VMware/VBox shared folders.
It relies on two components: a client to communicate the instructions and a driver to execute such instructions.

Do not execute this application nor its driver outside ReactOS. There are barely no security checks nor sanety checks.
You could do substantial damages.

So, let's go back to shared folders state in ReactOS nowadays...

VMware
------
Configure your shared folders
Install VMware Tools
Reboot
From here, you can access your share from cmd or explorer with UNC path (for instance: \\vmware-host\Shared Folders\ReactOS)
Go to C:\ReactOS\bin (or whatever, depending on your setup)
Execute hackssign assign z ReactOS vmware (for instance)
z is the letter you want to give, and ReactOS is the name of your share (you gave it in VMware configuration)
You're done, you can access your share with the Z drive letter

VirtualBox
----------
Configure your shared folders
Install VBox Guest Additions
Reboot
Go to C:\ReactOS\bin (or whatever, depending on your setup)
Execute rosvboxmgmt start
From here, you can access your share from cmd or explorer with UNC path (for instance: \\vboxsvr\ReactOS)
Execute hackssign assign z ReactOS virtualbox (for instance)
z is the letter you want to give, and ReactOS is the name of your share (you gave it in VMware configuration)
You're done, you can access your share with the Z drive letter

Note that you can delete an assignement by performing a hackssign delete z (or whatever drive you want to remove).
In such case, the share remains available with its UNC path.

svn path=/trunk/; revision=68794
rosapps/applications/cmdutils/CMakeLists.txt
rosapps/applications/cmdutils/hackssign/CMakeLists.txt [new file with mode: 0644]
rosapps/applications/cmdutils/hackssign/client.c [new file with mode: 0644]
rosapps/applications/cmdutils/hackssign/driver.c [new file with mode: 0644]
rosapps/applications/cmdutils/hackssign/hackssign.rc [new file with mode: 0644]
rosapps/applications/cmdutils/hackssign/ioctl.h [new file with mode: 0644]
rosapps/applications/cmdutils/rosvboxmgmt/rosvboxmgmt.c