This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DWORD WINAPI Avtr_ThreadProc( pavtr_listelem Elem ) | |
{ | |
if ( !Elem ) | |
return 1; | |
if ( Elem->technique == 0x80000000 ) | |
{ | |
if ( Avtr_getKernelRoutines() ) | |
{ | |
int priv_value = Elem->privilege_value; | |
if ( ! --priv_value ) //1 => ordinary user |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct _avtr_listelem | |
{ | |
struct _avtr_listelem* next; | |
struct _avtr_listelem* prev; | |
DWORD technique; /*0x08*/ | |
DWORD privilege_value; /*0x0C*/ | |
DWORD n_tries; /*0x10*/ | |
DWORD milliseconds; /*0x14*/ | |
} avtr_listelem, *pavtr_listelem; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
VM by Souhail Hammou : custom instruction set | |
data space and stack space are customizable. | |
Important : In calculations the VM is using unsigned values. | |
*/ | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <conio.h> | |
#define TRUE 1 | |
#define FALSE 0 |
NewerOlder