Skip to content

patrickcjk/self-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

self_map

Self DLL injection with export lookup

//create class instance
//buffer is a pointer to our image
self_map* mapper = new self_map(buffer);

//map the image
NTSTATUS status = mapper->map();

//make sure it succeed
if (NT_SUCCESS(status))
{
    //find a function
    func_ func = reinterpret_cast<func_>(mapper->export_lookup("func"));
    
    //make sure it was found
    if (func)
    {
      //do stuff
    }
}

//free memory
mapper->free_memory();
delete mapper;

About

Self DLL injection with export lookup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages