Git Product home page Git Product logo

torhidden's Introduction

TorHidden

TorHidden - A simple proxy tool.

GitHub repository GitHub version

TorHidden - A simple proxy tool.

Table of Contents

Installation For Windows

  1. Clone the repository

    git clone https://github.com/raic0d3r/TorHidden.git
    
  2. unpack the Tor folder to the root of drive.

    Example : C:\Tor\
    
  3. unpack the Tor folder to the root of drive C.

    C:\Tor\
    
  4. Create torrc file

    echo( > C:\Tor\torrc
    
  5. Now install the Tor service, which will read the settings from the C:\Tor\torrc file:

    C:\Tor\tor.exe --service install -options -f "C:\Tor\torrc"
    
  6. By default, the Tor service listens on port 9050, so you can check whether it is started by a command that shows if port 9050 is listened:

    for /f "tokens=1,2,3,4,5*" %i in ('netstat -aon ^| findstr ":9050" ^| findstr /i listening') do echo %j %l & @tasklist | findstr %m
    

Usage

C:\Tor\tor.exe --service start
C:\Tor\tor.exe --service stop
C:\Tor\tor.exe --service stop
C:\Tor\tor.exe --service remove

Example

  1. Write Proxies
proxies = {
  'http': 'socks5://localhost:9050',
  'https': 'socks5://localhost:9050'
}
  1. Call New Proxy
def renew_tor_ip():
  with Controller.from_port(port=9051) as controller:
      controller.authenticate()
      controller.signal(Signal.NEWNYM)
  1. Example of code using proxy :
def checkmyip(url): 
    for x in range(1):
        renew_tor_ip()
        ipAddresss = requests.get("http://api.ipify.org", proxies=proxies).text 
        print('Current IP: '+ ipAddresss) 
      

Features

  • Hidden Proxy for Python Requests

Environments

  • Windows
  • Linux
  • macOS
  • Android (Termux)

Disclaimer

โš ๏ธ We are not responsible for any misuse or damage caused by this program. use this tool at your own risk!

Author

by Raihan Uddin

(Table of Contents)

License

This repository is under Unlicense License.

torhidden's People

Contributors

raic0d3r avatar

Watchers

 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.