Skip to content

Module: Detect TOR

Haoxi Tan edited this page Jan 10, 2020 · 2 revisions

Summary

  • Objective: Detect if the target is in TOR network

  • Authors: wade, pdp, bm, xntrik

  • Browsers: All

  • Code

Internal Working

attempts to load an image from the Tor network and check if it loads.

The default URL to load is

http://xycpusearchon2mc.onion/deeplogo.jpg

img.src = '<%= @tor_resource %>';
img.id = 'torimg';
img.setAttribute("attr","start");
img.onerror = function() {
        this.setAttribute("attr","error");
};
img.onload = function() {
        this.setAttribute("attr","load");
};

Feedback

Clone this wiki locally