Comparing version 0.5.4 to 0.5.5
#!/usr/bin/env node | ||
var spawn = require('child_process').spawn | ||
var port = 8080 | ||
var port = 2222 | ||
var tunnel = ['-R', port + ':127.0.0.1:' + port] | ||
var debug = require('debug')('autopsy:ssh') | ||
module.exports = function sshCmd(args) { | ||
spawn('ssh', tunnel.concat(args), {stdio: 'inherit'}) | ||
debug('spawn: ssh ' + tunnel.concat(args).join(' ')) | ||
spawn('ssh', tunnel.concat(args), {stdio: 'inherit'}) | ||
} | ||
if (!module.parent) { module.exports(process.argv.slice(2)) } |
@@ -59,3 +59,3 @@ var fs = require('fs') | ||
keypress(process.stdin) | ||
stream.write('mdb ' + args.join(' ') + ' # run mdb in tty\n') | ||
@@ -150,3 +150,3 @@ debug('loading v8 mdb debug module') | ||
while (bar.length < 42) bar += ' ' | ||
output += file + ' [' + bar + '] ' + pct.toFixed(1) + '%' + ' ' + total + ' / ' + uploaded | ||
output += file + ' [' + bar + '] ' + pct.toFixed(1) + '%' | ||
if (total) output += ' of ' + prettyBytes(total) | ||
@@ -153,0 +153,0 @@ return output |
{ | ||
"name": "autopsy", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"description": "dissect dead node service core dumps with mdb via a smart os vm", | ||
@@ -5,0 +5,0 @@ "preferGlobal": true, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24988
484