Multithreaded TOR proxy in Python
Description
When conducting pentests, there are often problems associated with security devices that block the “attacking” IP.
To solve this problem, the pymultitor tool was written.
Due to the large number of IP addresses performing attacks, the best results are guaranteed — especially when trying attacks to bypass web application firewalls, brute-force attacks, and many others.
Installation
For the successful operation of the program, you need to install:
- Python 3.6+.
- mitmproxy (https://mitmproxy.org/).
- tor.
apt install python3 mitmproxy tor
Now we can install pymultitor, in any of the following ways:
With pip:
pip3 install pymultitor
You may need sudo.
From the source from github:
git clone https://github.com/realgam3/pymultitor.git
cd pymultitor
# Устанавливаем зависимости python
# Для установки некоторых может потребоваться sudo.
pip3 install -r requirements.txt
python3 setup.py install
Check that everything works:
pymultitor -h
Use
To select the condition by which our ip will change, there are 4 parameters:
# When To Change IP Address
--on-count менять IP каждые X запросов.
--on-string менять IP когда строка найдена в содержимом ответа.
--on-regex менять IP когда регулярное выражение найдено в содержимом ответа.
--on-rst менять IP при закрытии соединения с помощью TCP RST.
For the test, we will use the — on-count parameter with a value of 3 to change our ip every 3 requests.
Let’s run pymultitor with the command:
pymultitor --on-count 3
The program will create a local proxy with the address http://127.0.0.1:8080
To determine our IP, we will use the curl command, specifying as a proxy the address that pymultitor gave us — http://127.0.0.1:8080:
curl ident.me --proxy http://127.0.0.1:8080 ident.me
Execute the command in a loop 5 times
And make sure that our IP changes every 3 requests.
We Got More Tools For #Price
#Update #tutorial #rianews #software #hardware #technology #money #earning #ipmc #love #giveaways #computing #computers #informationtechnology #learning #AI #redfishiaven #servers #deepweb #darkweb #bitcoin
See REDFISH IA VEN ( https://goo.gl/maps/LVKkEYNN2LTe9C34A ) in Google Maps.
https://www.youtube.com/channel/UC6k_cFigPCSEtRyALo1D-tA
Be the First To Know About The New #software