Script tor-consensus-checker

Script types: hostrule
Categories: external, safe
Download: https://svn.nmap.org/nmap/scripts/tor-consensus-checker.nse

Script Summary

Checks if a target is a known Tor node.

The script works by querying the Tor directory authorities. Initially, the script stores all IPs of Tor nodes in a lookup table to reduce the number of requests and make lookups quicker.

Script Arguments

slaxml.debug

See the documentation for the slaxml library.

http.host, http.max-body-size, http.max-cache-size, http.max-pipeline, http.pipeline, http.truncated-ok, http.useragent

See the documentation for the http library.

smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername

See the documentation for the smbauth library.

Example Usage

nmap --script=tor-consensus-checker <host>

Script Output

Host script results:
| tor-consensus-checker:
|_  127.0.0.1 is a Tor node

Requires


Author:

  • Jiayi Ye

License: Same as Nmap--See https://nmap.org/book/man-legal.html