Jump to content
YOUR-AD-HERE
HOSTING
TOOLS

Locked VM drivers check


top10

Recommended Posts

[HIDE-THANKS][LENGUAJE=C]void

drivers_check

()

{

char

buffer

[

256

];

char

*

basedir

=

"c:

\

\

windows

\

\

system32

\

\

drivers

\

\

"

;

char

*

driver_names

[]={

"vmci.sys"

,

"vmhgfs.sys"

,

"vmmouse.sys"

,

"vmscsi.sys"

,

"vmusbmou

se.sys"

,

"vmx_svga.sys"

,

"vmxnet.sys"

,

"VBoxMouse.sys"

};

int

i

=

0

;

while

(

i

<

8

)

{

memset

(

buffer

,

'

\

0'

,

256

);

strcpy

(

buffer

,

basedir

);

strcat

(

buffer

,

driver_names

[

i

]);

if

(

GetFileAttributes

(

buffer

)

!=

INVALID_FILE_ATTRIBUTES

)

{

printf

(

"Found driver: %s

\

n"

,

driver_names

[

i

]);

}

i

++

;

}

return

;

}[/LENGUAJE][/HIDE-THANKS]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.