Giter Club home page Giter Club logo

eternalproxytor's Introduction

EternalProxyTor

Use tor as proxy to bypass IP limit querys

#Dependencies

pip install EPT
pip install requests
pip install git+https://github.com/aaronsw/pytorctl.git
apt-get install tor privoxy

#Install and configure TOR

Restart tor
/etc/init.d/tor restart

Enable Cotrole port
Edit the file /etc/tor/torrc and remove the # from,
ControlPort 9051

Restart tor
/etc/init.d/tor restart

Privoxy
Make privoxy use tor, edit the file /etc/privoxy/config and remove the # from,
forward-socks5 / localhost:9050 .

Restart Privoxy
/etc/init.d/privoxy restart

#Usage

#import lib
>>>from ept import ProxyTor

#Create object from ProxyTor
>>>tor = ProxyTor()

#Check your current IP
>>>tor.check_ip()
89.187.144.122

#Get new IP from a specific country
>>>tor.signal(country='NL')

>>>tor.check_ip()
77.247.181.163

#Connect to a website using tor, this function is based on lib requests.
>>>r = tor.connect('https://google.com',method='post')
>>>r.status_code
200

eternalproxytor's People

Watchers

James Cloos 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.