摘要: An access token is an object that describes the security context of a process or thread. The information in a token includes the identity and privileg 阅读全文
posted @ 2017-05-29 01:37 debugme 阅读(273) 评论(0) 推荐(0) 编辑
摘要: Redis setup hints 1.Make sure to set the Linux kernel overcommit memory setting to 1. Add vm.overcommit_memory = 1 to /etc/sysctl.conf and then reboot 阅读全文
posted @ 2017-05-25 12:34 debugme 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Mandatory Integrity Control (MIC) provides a mechanism for controlling access to securable objects. This mechanism is in addition to discretionary acc 阅读全文
posted @ 2017-05-04 00:53 debugme 阅读(453) 评论(0) 推荐(0) 编辑
摘要: An access control entry (ACE) is an element in an access control list (ACL). An ACL can have zero or more ACEs. Each ACE controls or monitors access t 阅读全文
posted @ 2017-05-01 22:25 debugme 阅读(251) 评论(0) 推荐(0) 编辑
摘要: An access control list (ACL) is a list of access control entries (ACE). Each ACE in an ACL identifies a trustee and specifies the access rights allowe 阅读全文
posted @ 2017-05-01 21:36 debugme 阅读(368) 评论(0) 推荐(0) 编辑
摘要: CreateEvent函数会创建一个事件内核对象,该函数原型为HANDLE CreateEvent(PSECURITY_ATTRIBUTE psa, BOOL fManualReset, BOOL fInitialState, PCTSTR pszName) 其中fManualReset为TRUE时 阅读全文
posted @ 2017-04-04 17:15 debugme 阅读(422) 评论(0) 推荐(0) 编辑
摘要: _beginthreadex的一些要点1.每个线程均获得c/c++运行时库的栈分配的自己的tiddata内存结构2.传递给_beginthreadex的线程函数的地址和参数保存在tiddata内存块中3._beginthreadex从内部调用CreateThread,因为这是操作系统内部了解如何创建 阅读全文
posted @ 2017-03-12 15:26 debugme 阅读(228) 评论(0) 推荐(0) 编辑
摘要: RtlUnicodeStringToAnsiString这个函数的第三个参数指定是否分配内存空间,若该参数为TRUE则分配,FALSE则不分配 若我们没有在代码中给dest的ANSI_STRING结构体分配内存,即没有使用以下代码 ANSI_STRING astrString = {0}; astr 阅读全文
posted @ 2017-02-16 01:12 debugme 阅读(934) 评论(0) 推荐(0) 编辑
摘要: 在编写驱动代码的时候,我使用了以下代码: UNICODE_STRING ustrString; ustrString = {0}; 此时编译器会报错c2059 于是我修改代码为 UNICODE_STRING ustrString = {0}; 这样编译器就不会报错 阅读全文
posted @ 2017-02-15 23:53 debugme 阅读(160) 评论(0) 推荐(0) 编辑
摘要: #include <WINDOWS.H>#include <winsvc.h>#include <conio.h>#include <stdio.h> #pragma comment(lib, "Advapi32.lib") BOOL LoadNTDriver(char* lpszDriverNam 阅读全文
posted @ 2017-02-08 00:06 debugme 阅读(492) 评论(0) 推荐(0) 编辑