GetTorExitNode

From aldeid
Jump to navigation Jump to search

Description

GetTorExitNode is a Python script that I have written in the shape of tests about anonymity via Tor. It is meant to be used in conjunction with tortunnel and provides one or all valid Tor exit node(s).

See a usage example here: Nmap portscan trough Tor.

Installation

$ cd ~/
$ wget http://dl.packetstormsecurity.net/peer2peer/getTorExitNode.py.txt
$ mv getTorExitNode.py.txt getTorExitNode.py
$ chmod +x getTorExitNode.py

Usage

Syntax

$ ./getTorExitNode.py [--all]

Options

-h, --help
Show this help message and exit
--all
Return all valid Tor exit nodes

Example

To get a unique valid Tor exit node, run getTorExitNode without argument:

$ ./getTorExitNode.py
Valid Tor exit node(s) found:
67.207.***.**

To get all valid Tor exit nodes, run:

$ ./getTorExitNode.py --all
Valid Tor exit node(s) found:
67.207.***.**
71.197.***.***
24.88.**.**
209.20.**.**
68.233.**.**
80.79.***.**
99.164.**.***
209.25.***.**
88.174.***.***
129.194.***.**
87.227.**.***
80.79.**.**
84.22.***.*
99.93.***.***
173.57.***.**
85.24.***.**
(...TRUNCATED...)

Comments