Skip to content
/ winexe Public
forked from R-Vision/winexe

Wrapper around the winexe and psexec

License

Notifications You must be signed in to change notification settings

droobah/winexe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

winexe

Wrapper around the winexe and psexec|paexec

Install

npm install @droobah/winexe

Usage

var WinExe = require('@droobah/winexe');

var winexe = new WinExe({
    username: 'LOGIN',
    password: 'PASSWORD',
    host: 'IP-ADDRESS',
    timeout: 60000 // optional timeout in ms, winexe process will be killed with SIGKILL
});

// Run command on remote host
winexe.run('cmd.exe /c ipconfig /all', function (err, stdout, stderr) {
    // console.log(stdout);
});

About

Wrapper around the winexe and psexec

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%