登录
首页 » Windows核心 » Windows 中创建空的备用列表

Windows 中创建空的备用列表

于 2022-05-07 发布 文件大小:33.96 kB
0 202
下载积分: 2 下载次数: 1

代码说明:

翻译:maninwest@Codeforge 作者:Member 10018957 @CodeProject如何在 Windows 中创建看空的备用列表。进程黑_客的制造者了解 Windows 内核的里里外外,他们也幸运地熟练掌握 Windows 内核的设计语言C++。而其他的人则努力通过 C# 执行相似的功能。其中一个功能就是释放来自 windows 备用内存的内存。这就是我们在此要做的。最难的部分是获取内核的优先权限。感谢Nick Lowe:http://processprivileges.codeplex.com/步骤1:设置内核优先权限Microsoft 设计了可以获取包含结构数组的结构的 API。没有适用于此的编组过程的捷径。要么假设数组是 length=1 要么要求数组大小在编译时预先确定。为此,我设计了一个类,它通过 System.IntPtr拥有微软在未管理的内存中需要的确切结构。当前,我不得不采用不安全的步骤,但是我确定,将来会有办法绕过。[return: MarshalAs(UnmanagedType.Bool)] [SuppressUnmanagedCodeSecurity, DllImport("advapi32.dll", SetLastError = true)] internal static extern bool AdjustTokenPrivileges(AccessTokenHandle accessTokenHandle, [MarshalAs(UnmanagedType.Bool)] bool disableAllPrivileges, IntPtr NewPriviledges, Int32 bufferLength, ref IntPtr PriorPriviledges, out Int32 returnLength); 将我的类和  Nick Lowe 的优先代码相结合,我们可以设置内核优先权限:

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 这个代码采用regmon的驱动,可以实现对注册表操作的监视,非常实用...
    这个代码采用regmon的驱动,可以实现对注册表操作的监视,非常实用-the code used regmon drive can be realized by the Registry of the surveillance operation, a very practical
    2022-06-12 05:20:01下载
    积分:1
  • 编程库函数查询字典
    编程库函数查询字典-programming library functions inquiries dictionary
    2022-01-26 04:34:43下载
    积分:1
  • delphi是一款经典的软件,曾经的delphi实现了很多的难题,熟悉、了解delphi对我们很重要,在其他的编程软件中我们还能见到delphi的影子,这让我们...
    delphi是一款经典的软件,曾经的delphi实现了很多的难题,熟悉、了解delphi对我们很重要,在其他的编程软件中我们还能见到delphi的影子,这让我们在以后的编程中有很大的帮助。-delphi is a classic software, delphi once achieved a lot of problems, familiar to learn delphi very important to us, in other programming software, delphi, we can see the shadow, which gives us the programming in the future, there a great help.
    2022-09-09 19:05:02下载
    积分:1
  • non
    非API函数检测操作系统类型 现在几乎所有的程序员都采用扩展程序接口(API)来获取操作系统信息。采用AIP函数,我们不需要关心当前所用的操作系统具体状况-non-operating system API function testing is now almost all types of programmers are used to expand programming interface (API) to access the operating system information. Using AIP function, we need not concern the current operating system used by the specific situation
    2022-01-28 20:23:10下载
    积分:1
  • WinNT/2000/XP直接读写端口的开发库DirectPort 一个免费的开发库 DirectPort ,其功能是在nt/win2000/xp下直接读写端口...
    WinNT/2000/XP直接读写端口的开发库DirectPort 一个免费的开发库 DirectPort ,其功能是在nt/win2000/xp下直接读写端口 主要包括3个文件:DirectPort.h DirectPort.Dll DirectPort.lib 并带有例子-WinNT/2000/XP directly read and write ports for the development of a free DirectPort development libraries DirectPort, and its function is the nt/win2000/xp directly read and write ports include three documents : DirectPort.h DirectPort.Dll DirectPort.lib with examples and
    2022-04-08 09:24:39下载
    积分:1
  • 这是一个管理系统,比较使用.请大家好好看海防 发疯啊发安放...
    这是一个管理系统,比较使用.请大家好好看海防 发疯啊发安放- This is a management system management system, compared with use Asks everybody to look well the coast defense goes crazy sends places
    2023-01-09 10:45:04下载
    积分:1
  • 爱好WINDOWS系统编程者的导师,你可以真正的了解到鼠标的控制!...
    爱好WINDOWS系统编程者的导师,你可以真正的了解到鼠标的控制!-WINDOWS-loving mentor system programmer, you can understand that the real control of the mouse!
    2023-08-15 05:45:03下载
    积分:1
  • 5版
    VERSION 5.00 Begin VB.Form laba AutoRedraw = -1 True BackColor = &H00FFFFFF& BorderStyle = 1 Fixed Single ClientHeight = 3540 ClientLeft = 2340 ClientTop = 1815 ClientWidth = 4935 ControlBox = 0 False Icon = "FORM2.frx":0000 LinkTopic = "Form1" MaxButton = 0 False MinButton = 0 False Picture = "FORM2.frx":08CA ScaleHeight = 3540 ScaleWidth = 4935 ShowInTaskbar = 0 False StartUpPosition = 2 CenterScreen Begin VB.Timer Endlife Enabled = 0 False Interval = 1 Left = 3240 Top = 3360 -VERSION 5.00 Begin VB.Form laba AutoRedraw =-1 True BackColor = &H00FFFFFF& BorderStyle = 1 Fixed Single ClientHeight = 3540 ClientLeft = 2340 ClientTop = 1815 ClientWidth = 4935 ControlBox = 0 False Icon = "FORM2.frx":0000 LinkTopic = "Form1" MaxButton = 0 False MinButton = 0 False Picture = "FORM2.frx":08CA ScaleHeight = 3540 ScaleWidth = 4935 ShowInTaskbar = 0 False StartUpPosition =
    2022-12-06 12:20:03下载
    积分:1
  • AND 芯片的API,可用于对amd FLASH的编程,读写
    AND 芯片的API,可用于对amd FLASH的编程,读写-AND chips API, can be used to amd FLASH programming, reading and writing
    2022-07-03 00:25:17下载
    积分:1
  • 我在学习vc中编写一个关于在应用程序中支持网页的编辑的功能的程序...
    我在学习vc中编写一个关于在应用程序中支持网页的编辑的功能的程序-Vc in me in learning to prepare a report on the application to support the function of the editorial page of the procedures
    2022-05-22 07:18:12下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载