Skip to content

ASkyeye/Explorer-Delete-Protection

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Explorer-Delete-Protection

Protect files under a specific folder from deleting or moving by explorer.exe.

alt text

Requierments:

Microsoft Detours Library - https://github.com/microsoft/Detours

Compile:

  1. Unzip source code, open command line and enter to source directory
  2. SET DETOURS_TARGET_PROCESSOR=X64
  3. C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat
  4. NMAKE

Add detours.lib to Linker additional libraries.

Hooked Functions:

  • DeleteFileW (kernelbase.dll)
  • MoveFileExW (kernelbase.dll)
  • NtOpenFile (ntdll.dll)

About

Protect files under a specific folder from deleting or moving by explorer.exe.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 87.1%
  • C# 11.4%
  • C 1.5%