Permalink
Browse files

Removed backdoor temporarily whilst deploying to no.de

  • Loading branch information...
1 parent 106a4c2 commit 4630165aceb87df3c74c1113948a70eb527ba268 @dylanbeattie committed Jun 5, 2011
Showing with 13 additions and 13 deletions.
  1. +13 −13 server.js
View
@@ -68,16 +68,16 @@ function setSocketHandlers() {
});
};
-//back door to kaboom
-var repl = require('repl');
-var net = require('net');
-net.createServer(function (connection) {
- connection.write("Kaboom Back Door go away\n");
- require('child_process').exec("uname -a", function (err, stdout, stderr) {
- connection.write(stdout + "\n");
- var context = repl.start("kaboom server> ", connection).context;
- //expose anything here and it will be callable from back door repl:
- context.socket = socket;
- context.server = server;
- });
-}).listen(config.backDoor.port, config.backDoor.host);
+////back door to kaboom
+//var repl = require('repl');
+//var net = require('net');
+//net.createServer(function (connection) {
+// connection.write("Kaboom Back Door go away\n");
+// require('child_process').exec("uname -a", function (err, stdout, stderr) {
+// connection.write(stdout + "\n");
+// var context = repl.start("kaboom server> ", connection).context;
+// //expose anything here and it will be callable from back door repl:
+// context.socket = socket;
+// context.server = server;
+// });
+//}).listen(config.backDoor.port, config.backDoor.host);

0 comments on commit 4630165

Please sign in to comment.