Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
canvas
/
node_modules
/
spawn-command
/
lib
/
Filename :
spawn-command.js
back
Copy
var util = require('util'); var spawn = require('child_process').spawn; module.exports = function (command, options) { var file, args; if (process.platform === 'win32') { file = 'cmd.exe'; args = ['/s', '/c', '"' + command + '"']; options = util._extend({}, options); options.windowsVerbatimArguments = true; } else { file = '/bin/sh'; args = ['-c', command]; } return spawn(file, args, options); };