A small module to capture HTTP traffic and detect matching HTTP headers
npm install HTTPTrigger
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 });
The program needs packet capture priviledges to work (such as root)
Daniel Zozin zdenial@gmx.com
- 0.1.0 Initial release