Forum Thread: How to Use Tor+Proxy with Python for Bruteforce

hi!
i want to write a python brute force script for instagram
but i want to hide my ip through tor unfortunately instagram is blocking tor ip's from logging in
so i am trying to connect to a randomly chosen proxy server after tor
this is the connection i am trying to do:
me==>tor==>proxy==>instagram
so instagram wont see the tor ip
in the python script:
session = requests.session()
session.proxies'http' = 'socks5h://localhost:9050'
session.proxies'https' = 'socks5h://localhost:9050'
i open a session with the proxy of tor
how can i connect tor to a proxy after this?

Our Best Hacking & Security Guides

New Null Byte posts — delivered straight to your inbox.

Share Your Thoughts

  • Hot
  • Active