@projectdiscoveryio/interactsh
v0.0.1
Published
interactsh-node-module is a NODE package of a GO based tool [Interactsh](https://github.com/projectdiscovery/interactsh).
Downloads
1
Keywords
Readme
interactsh-node-module is a NODE package of a GO based tool Interactsh.
Interactsh Node Module
Installation
Using npm:
npm install @projectdiscovery/interactsh
Or using yarn:
yarn add @projectdiscovery
Usage
import * as interactsh from "@projectdiscovery/interactsh"
or
import { register, pollInteractions, deRegister } from "@projectdiscovery/interactsh"
Example
register().then(regData => {
// Poll for interactions.
setInterval(() => {
pollInteractions(regData).then(poll => {
console.log(poll)
}).catch(e => console.log(e));
}, 2000);
// Deregister the instance when finished.
setTimeout(() => {
deRegister(regData).then(d => {
console.log(d)
})
}, 15000);
})