Python Multi Threaded Tor Proxy
Did you ever want to be at two different places at the same time?
When I asked myself this question, I actually started developing this solution in my mind.
While performing penetration tests there are often problems caused by security devices that block the “attacking” IP.
This really annoyed me, so I wrote a script to supply a solution for this problem.
With a large number of IP addresses performing the attacks, better results are guaranteed – especially when attempting attacks to bypass Web Application Firewalls, Brute-Force type attacks and many more.
sudo apt-get install -y build-essential libssl-dev python-setuptools python-pip python-wheel python-dev
sudo apt-get install -y libffi-dev libssl-dev libxml2-dev libxslt1-dev libjpeg8-dev zlib1g-dev
sudo apt-get install -y tor
sudo dnf install -y redhat-rpm-config gcc gcc-c++ make openssl-devel python-setuptools python-pip python-wheel python-devel
sudo dnf install -y libffi-devel openssl-devel libxml2-devel libxslt-devel libpng-devel libjpeg-devel
sudo dnf install -y tor
$(curl -fsSL http://ift.tt/YQTuQh)”
brew install mitmproxy
brew install tor
pip install pymultitor
git clone http://ift.tt/2rBoepU
pip install -r requirements.txt
python setup.py install
Run pymultitor –on-string “Your IP Address Blocked”.
On your script use proxy (http://127.0.0.1:8080).
When the string Your IP Address Blocked will present in the response content, you will exit from another IP address.
Usage: pymultitor [-h] [-v] [-lh LISTEN_HOST] [-lp LISTEN_PORT] [-s] [-i] [-d]
[-p PROCESSES] [-c CMD] [–on-count ON_COUNT]
[–on-string ON_STRING] [–on-regex ON_REGEX] [–on-rst]
# When To Change IP Address
–on-count Change IP Every x Requests (Resources Also Counted).
–on-string Change IP When String Found On The Response Content.
–on-regex Change IP When Regex Found On The Response Content.
–on-rst Change IP When Connection Closed With TCP RST.