Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added nodester folder

  • Loading branch information...
commit e7a017a1a60a56db01b5eedb24390e690b6f5fa5 1 parent f59b836
@contra contra authored
Showing with 3 additions and 35 deletions.
  1. +2 −1  .npmignore
  2. +1 −1  fusker
  3. +0 −33 server.js
View
3  .npmignore
@@ -1 +1,2 @@
-*.log
+*.log
+fusker
2  fusker
@@ -1 +1 @@
-Subproject commit c7f07e0eadc1405ddd15f1b6cff46ab1a7cc5b3b
+Subproject commit e062c38b0fda69f22c000b355afd2ed78bf457cc
View
33 server.js
@@ -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);
- });
-});
Please sign in to comment.
Something went wrong with that request. Please try again.