Skip to content

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

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages