pymultitor: Python Multi Threaded Tor Proxy to bypass restrictions based on IP counters

in pymultitor •  7 years ago 

pymultitor
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.

Installation
Ubuntu
Requirement

python 2.7+
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
Fedora
Requirement

python 2.7+
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
MacOS
Requirement

python 2.7+
xcode-select –install
$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
brew install mitmproxy
brew install tor
Installation
From pip:
pip install pymultitor
From source:
git clone https://github.com/realgam3/pymultitor.git
cd pymultitor
pip install -r requirements.txt
python setup.py install
Usage
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.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!