Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Detect, prevent, and fight back against hackers in the lulziest ways possible

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

node-fusker is less than a day old and only had a few hours of work put into it. Please give it time to mature before you pass any judgement

node-fusker is a library to prevent and manage a multitude of attacks in nodejs

To install node-fusker, use npm:

$ npm install fusker

Example

Please see test.js for a working example and documentation. To execute an XSS attack on the test server, just click HERE while it's running.

List of included detection modules (detectives)

csrf - Detects cross-site request forgery in incoming http requests
xss - Detects common XSS attacks in incoming http requests
sqli - Detects SQLi attempts in incoming http requests
lfi - Detects common LFI attacks in incoming http requests
404 - Punishes people who like to snoop around. Only use with single page applications

List of included payload modules

blacklist - Blacklists IP for specified amount of time (banLength in config)
saxroll - Redirects attacker to 1227.com
nimp - Redirects attacker to fusker.on.nimp.org (WARNING: Harmful to attacker)
nyan - Redirects attacker to nyan.cat
goatse - Redirects attacker to goatse.bz (WARNING: Harmful to eyes)
bush - Redirects attacker to George W. Bush "you just fell for the trap"

Adding detectives

Add a .js or .coffee file to the 'detectives' directory of the module.

Example: Adding msi.js to /lib/detectives/ will allow you to fusker.detectives.push('msi');

Adding payloads

Add a .js or .coffee file to the 'payloads' directory of the module.

Example: Adding wigi-bomb.js to /lib/payloads/ will allow you to fusker.payloads.push('wigi-bomb');

Contributors

LICENSE

(MIT License)

Copyright (c) 2011 Fractal contact@wearefractal.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.