mirror of
https://github.com/donnaskiez/ac.git
synced 2024-11-21 22:24:08 +01:00
hhh
This commit is contained in:
parent
a180c98391
commit
9256c73be8
2 changed files with 3 additions and 10 deletions
|
@ -97,18 +97,11 @@ void kernelmode::Driver::VerifySystemModules()
|
|||
return;
|
||||
}
|
||||
|
||||
if ( bytes_returned == NULL )
|
||||
{
|
||||
LOG_INFO( "All system modules valid" );
|
||||
free( buffer );
|
||||
return;
|
||||
}
|
||||
|
||||
memcpy( &header, buffer, sizeof( header_size ));
|
||||
|
||||
if ( header.module_count == NULL )
|
||||
if ( header.module_count == 0 )
|
||||
{
|
||||
LOG_ERROR( "weird error with module report" );
|
||||
LOG_INFO( "All modules valid :)" );
|
||||
free( buffer );
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ DWORD WINAPI Init(HINSTANCE hinstDLL)
|
|||
usermode::UManager umanager( thread_pool, report_interface );
|
||||
kernelmode::KManager kmanager( driver_name, thread_pool, report_interface);
|
||||
|
||||
kmanager.RunNmiCallbacks();
|
||||
//kmanager.RunNmiCallbacks();
|
||||
kmanager.VerifySystemModules();
|
||||
|
||||
//umanager.ValidateProcessModules();
|
||||
|
|
Loading…
Reference in a new issue