From 79a108a542fb35efd81348144a7950a699464fcd Mon Sep 17 00:00:00 2001 From: UnknownObject <38148526+UnknownObject000@users.noreply.github.com> Date: Sat, 17 Sep 2022 15:28:10 +0800 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8f46edc..1da6297 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,18 @@ # NTV05_EasyPrivilegeGetter -NTAPI简单提权函数视频源代码 +NTAPI简单提权函数视频源代码,用于演示未公开的NtAPI - RtlAdjustPrivilege + +## RtlAdjustPrivilege + +### 函数原型 +```c++ +UINT RtlAdjustPrivilege(ULONG Privilege, BOOL bEnablePrivilege, BOOL IsThreadPrivilege, PINT PreviousValue); +``` + +### 函数指针类型 +```c++ +typedef UINT(CALLBACK* typeRtlAdjustPrivilege)(ULONG, BOOL, BOOL, PINT); +``` + +### 所在DLL + - ntdll.dll +