This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NtApiDotNet; | |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__int64 __fastcall UtilVerifyAndLockDirectory(LPCWSTR path, HANDLE dirHandle) | |
{ | |
if ( dirHandle ) | |
{ | |
pathHandle = CreateFileW(path, 0xC0000000, 0, 0i64, 3u, 0x2000000u, 0i64); | |
result = UtilVerifyFilePath(v3, pathHandle); | |
if ( result >= 0 ) | |
{ | |
result = UtilGetGUIDString((struct CString *)&randomGuid); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
choco install firefox vscode dotnetcore-sdk windbg ghidra vscode-csharp notepadplusplus.install python2 python3 hxd windows-sdk-10 vscode-cpptools cutter sysinternals 7zip.install git.install |