Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

anti-tunnel

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

anti-tunnel

Rapid anti IP to IP tunnel detecting bot

unpublished
latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Anti Tunnel

Rapid bot util to detect known bots/proxies/vpn's. This bot is equipped with InternetDB API.

Workflow

  • First the bot tunnels it self before performing the query on the InternetDB API.
  • Afterwards the lookup is being made And while performing this lookup, the client is fully proxied and the bot works in a multi-threaded manner for high-speed and efficiency.

Examples

CommonJS

const { isVPN } = require("anti-tunnel");

(async () => {
  let vpn = new isVPN({ "cache-control": "no-cache" });
  await vpn.getProxies();

  console.log(await vpn.isProxy("62.133.206.93"));
  process.exit(0);
})();

Module ECMA

import { isVPN } from "anti-tunnel";

(async () => {
  let vpn = new isVPN({ "cache-control": "no-cache" });
  await vpn.getProxies();

  console.log(await vpn.isProxy("62.133.206.93"));
  process.exit(0);
})();

Keywords

anti

FAQs

Package last updated on 05 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts