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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Node.js DNS hijacking tool.
m install dns-hijacking --save
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();
DNSHijacking
hosts
this hijacking host config.setter
custuom config the hijacking host.