Skip to content

broglea/torController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

torController

A very simple and basic python torController that uses telnet to the localhost to authenticate and get new identities

    PREREQUISITE TO USING THIS:
        1) You must edit your /etc/tor/torrc file to turn on ControlPort (default is 9051) 
        2) You must edit your /etc/tor/torrc with your HashedControlPassword you want to use,
           this can be obtained via the command 'tor --hash-password passwordGoesHere'

    Usage:
        from torController import torController
        tor = torController(9051, "passwordGoesHere")
        tor.connect()
        tor.newIdentity()        <- Gets a new identity using any random country
        tor.newIdentity("US")    <- Gets a new identity from specified 2 letter ISO country code

About

A simple torController module in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages