在内核驱动程序中,可以通过PsGetCurrentProcess函数来获取当前调用驱动的进程的EPROCESS结构的地址.很多文章都说在EPROCESS结构的0x174偏移处存放着进程名.这里提供另外一种方法来获取这个进程名.思路如下:驱动程序的加载函数DriverEntry是运行在System进程...
分类:
其他好文 时间:
2014-07-22 22:44:54
阅读次数:
212
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO.Ports;using System.Runtime.CompilerServices;using Sy...
分类:
其他好文 时间:
2014-07-22 22:44:35
阅读次数:
327
using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;using System.Threading.Tasks;namespace AnfleCrawler....
分类:
其他好文 时间:
2014-07-22 22:42:53
阅读次数:
333
JsonAbout:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Web.Script.Serialization;usin...
分类:
编程语言 时间:
2014-07-22 22:42:35
阅读次数:
309
1.简介 Oracle引入重做日志的目的:数据库的恢复。 Oracle相关进程:重做日志写进程(LGWR)。 重做日志性质:联机日志文件,oracle服务器运行时需要管理它们。 相关数据字典:v$log ; v$logfile 。 操作者权限:具有sys用户或system用户权限。重做日志文件:日志...
分类:
其他好文 时间:
2014-07-22 22:42:35
阅读次数:
267
在python程序中调用shell命令,是件很酷且常用的事情……1. os.system(command) 此函数会启动子进程,在子进程中执行command,并返回command命令执行完毕后的退出状态,如果command有执行内容,会在标准输出显示。这实际上是使用C标准库函数system()实现的...
分类:
编程语言 时间:
2014-07-22 22:41:36
阅读次数:
271
'set the control can display the focus status Protected Overrides Sub OnGotFocus(ByVal e As System.EventArgs) MyBase.OnGotFocus(e) M...
分类:
其他好文 时间:
2014-07-22 22:41:13
阅读次数:
198
1.创建一个内存表,定义主键约束等2.声明基类数组并赋值,再把数组当做行添加到Rows中using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.T...
分类:
其他好文 时间:
2014-07-22 22:40:13
阅读次数:
219
(英文部分为转的。代码是个人代码)
1 What’s inotify
The inotify API provides a mechanism for monitoring file system events. Inotify can be used to monitor individual files, or to monitor directories. When a direc...
分类:
系统相关 时间:
2014-07-22 22:39:53
阅读次数:
476