Skip to content

NodeJS module to capture HTTP traffic and detect matching HTTP headers

Notifications You must be signed in to change notification settings

banh-gao/HTTPTrigger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

HTTPTrigger

A small module to capture HTTP traffic and detect matching HTTP headers

Installation

npm install HTTPTrigger

Usage

var HTTPTrigger = require('HTTPTrigger');

var headers = {"User-Agent": "Mozilla *"};

trigger = new HTTPTrigger(headers,"eth0");

trigger.on("match", function(src, headers) { //React to matching http headers from src });

Execution

The program needs packet capture priviledges to work (such as root)

Author

Daniel Zozin zdenial@gmx.com

Release History

  • 0.1.0 Initial release

About

NodeJS module to capture HTTP traffic and detect matching HTTP headers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published