Permalink
Browse files

added nodester folder

  • Loading branch information...
1 parent f59b836 commit e7a017a1a60a56db01b5eedb24390e690b6f5fa5 @contra contra committed Aug 15, 2011
Showing with 3 additions and 35 deletions.
  1. +2 −1 .npmignore
  2. +1 −1 fusker
  3. +0 −33 server.js
View
@@ -1 +1,2 @@
-*.log
+*.log
+fusker
2 fusker
Submodule fusker updated from c7f07e to e062c3
View
@@ -1,33 +0,0 @@
-var fusker, io, server;
-fusker = require('./lib/fusker');
-fusker.config.dir = process.cwd();
-fusker.config.banLength = 1;
-fusker.config.verbose = true;
-fusker.http.detectives.push('csrf', 'xss', 'sqli', 'lfi', '404');
-fusker.http.payloads.push('blacklist', 'bush');
-fusker.socket.detectives.push('xss', 'sqli', 'lfi');
-fusker.socket.payloads.push('blacklist');
-server = fusker.http.createServer(11380);
-io = fusker.socket.listen(server);
-io.sockets.on('connection', function(socket) {
- socket.emit('HelloClient', 'o hay thar client');
- socket.on('TestObject', function(msg) {
- return console.log('HelloServer1! Contents: ' + msg);
- });
- socket.on('TestObject', function(msg) {
- return console.log('HelloServer2! Contents: ' + msg);
- });
- socket.on('TestObject', function(msg) {
- return console.log('HelloServer3! Contents: ' + msg);
- });
- /* Uncomment the attack senders in index.html to test these */;
- socket.on('TestSQL', function(msg) {
- return console.log('SQL Handled! Contents: ' + msg);
- });
- socket.on('TestLFI', function(msg) {
- return console.log('LFI Handled! Contents: ' + msg);
- });
- return socket.on('TestXSS', function(msg) {
- return console.log('XSS Handled! Contents: ' + msg);
- });
-});

0 comments on commit e7a017a

Please sign in to comment.