0.0.1 • Published 2 years ago

@projectdiscoveryio/interactsh v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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);
})