Guest User

One does not simply telnet into node

a guest
May 11th, 2012
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. require('net').createServer(function(socket) {
  2.     socket.on('data', function(data) {
  3.         socket.write( '\n\none doesnt simply telnet into node\n\n' );
  4.         socket.destroy();
  5.     });
  6. }).listen(23);
Advertisement
Add Comment
Please, Sign In to add comment