reactos/rosapps/applications/cmdutils/hackssign/CMakeLists.txt

10 lines
459 B
CMake
Raw Normal View History

[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
2015-08-22 12:29:37 +00:00
add_executable(hackssign_client client.c hackssign.rc)
set_module_type(hackssign_client win32cui UNICODE)
add_importlibs(hackssign_client msvcrt kernel32 advapi32)
add_cd_file(TARGET hackssign_client DESTINATION reactos/bin FOR all)
add_library(hackssign_driver SHARED driver.c hackssign.rc)
set_module_type(hackssign_driver kernelmodedriver)
add_importlibs(hackssign_driver ntoskrnl hal)
add_cd_file(TARGET hackssign_driver DESTINATION reactos/bin FOR all)