Nucleus Powered Mitochondria

    node-dll-injector
    TypeScript icon, indicating that this package has built-in type declarations

    0.2.3 • Public • Published

    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.

    Keywords

    none

    Install

    npm i node-dll-injector

    DownloadsWeekly Downloads

    7

    Version

    0.2.3

    License

    MIT

    Unpacked Size

    72.4 kB

    Total Files

    11

    Last publish

    Collaborators

    • mcoot