Git Product home page Git Product logo

tor-map's Introduction

Tor-map

This port scanner was orginally made by Nishit Majithia for fun.

It was modifed to work over Tor for anonymous and hidden service scanning.

Dependencies

Tor-map is a python script that requries the socks module and a running Tor deamon on localhost.

Tor-map is built to support python3.

Usage:

./tor-map [-h] -H HOSTS [-p PORTS] [-t TIMEOUT] [--clearnet] [--torport TORPORT]

-H option can be used to specify hosts, but it is assumed by default.

Multiple hosts can be specified using a comma (ex. ./tor-map -H 1.1.1.1,google.com,facebookcorewwwi.onion -p 80).

Tor-map supports IP address ranges as well (ex. ./tor-map 192.168.1.0/24 -p 22).

For private addresses, Tor is not used, but a direct connection is established instead.

Ports can be specified as a range (ex. ./tor-map google.com -p 20-30),separated with a comma (ex. ./tor-map 1.1.1.1 -p 25,53,80) or both.

Ports in a range are scanned including the ends of an interval (ex. in a range "20-30" both port 20 and 30 are scanned).

Examples

./tor-map -H 1.1.1.1 -p 53,80

Scans ports 53 and 80 on 1.1.1.1

./tor-map -H facebookcorewwwi.onion -p 80

Scan port 80 on facebookcorewwwi.onion

./tor-map -H 192.168.0.1 -p 0-1024 --clearnet

Scan ports from 0 to 1024 on 192.168.0.1 without routing traffic through Tor.

./tor-map 192.168.1.0/24,google.com -p 80

Scan the whole 192.168.1.0/24 range for an open port 80 without Tor and goole.com with Tor.

./tor-map 8.8.8.8/31 -p 53

Scan the 8.8.8.8/31 range for an open port 53 with Tor.

License

GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html

This is free software: you are free to change and redistribute it.

tor-map's People

Contributors

nishitm avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.