Skip to content

PyTor is a simple framework that enables the automatic creation of new Tor sessions. PyTor is created with asynchronous opperations in mind.

License

Notifications You must be signed in to change notification settings

Slenderman00/PyTor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyTor 🔥

PyTor is a simple framework that enables the automatic creation of new Tor sessions. PyTor is created with asynchronous opperations in mind.

PyTor supports as many sessions as you have available ports

Usage 🤌

#start a new pytor session
pytor = PyTor.Session()
pytor.start()

#get public ip using pytor proxy
res = requests.get("https://api.ipify.org", proxies={"http": pytor.getProxy(), "https": pytor.getProxy()})
print(res.text)

#request a new public ip
pytor.newIP()

res = requests.get("https://api.ipify.org", proxies={"http": pytor.getProxy(), "https": pytor.getProxy()})
print(res.text)

TODO 📝

  • Implement a session manager that can keep track of all the sessions.

  • Clean up temp files.

  • Specify allowed ports.


Badges

MIT License

About

PyTor is a simple framework that enables the automatic creation of new Tor sessions. PyTor is created with asynchronous opperations in mind.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages