node-modules/dns-hijacking

Name: dns-hijacking

Owner: node_modules

Description: null

Created: 2016-09-30 09:17:17.0

Updated: 2018-04-24 03:47:04.0

Pushed: 2016-10-01 06:05:38.0

Homepage: null

Size: 5

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

dns-hijacking

Node.js DNS hijacking tool.

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Installation
m install dns-hijacking --save
Quick start
nst DNSHijacking = require('dns-hijacking');
nst hosts = { 'nodejs.org': '127.0.0.1' }; // also support IPV6. e.g: { 'nodejs.org': '2607:f8b0:4003:c18::65' }
nst dNSHijacking = new DNSHijacking(hosts);

 doing logic under the hijacking
SHijacking.setup();

 reset the hijacking
SHijacking.reset();
API

DNSHijacking

License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.