Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-dll-injector

Native node addon for dll injection in windows.

Requires a working node-gyp setup to compile the native addon.

Usage

const injector = require('node-dll-injector');

const isNotepadRunning = injector.isProcessRunning('notepad.exe');

if (isNotePadRunning) {
    const success = injector.inject('notepad.exe', 'mydll.dll');

    if (success) {
        console.log('Successfully injected!');
    } else {
        console.log('Injection failed. :(');
    }
}

There are alternative versions of each function injectPID and isProcessRunningPID that inject based on process id.

About

Native node addon for dll injection in windows

Resources

Stars

13 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages