Skip to content

Latest commit

 

History

History
113 lines (75 loc) · 3.85 KB

README_EN.md

File metadata and controls

113 lines (75 loc) · 3.85 KB

Russian warship, go fuck yourself!

Українське README | English README

🤔 Overview

  • The repo contains Python 3 script, which uses russian proxies and do load testing of web resources using API.
  • ⚠ The script uses a proxy, but be careful, it is desirable to use a VPN.

🚀 Quick start

Windows

  • Install Python 3.8 (or later version)

    IMPORTANT: Make sure to select Add Python to PATH checkbox (see screenshot)

  • Clone repository:

    git clone https://github.com/Luzhnuy/attacker.git
  • Run install.bat to install all the required dependencies

  • Using terminal (command line or PowerShell) run the script:

    python attack.py

Linux and MacOS

  • Install Python 3.8 (or later version)

    ⚠ Linux users, your system may have Python version 2 pre-installed, which means that you need to run this program with the python3 command and set the installation requirements with the pip3 command.

  • Clone repository:

    git clone https://github.com/Luzhnuy/attacker.git
  • Install all the required dependencies:

    pip install -r requirements.txt
  • Run the script:

    python attack.py

Docker

Docker environment variables list

  • ATTACKER_THREADS: (integer) Defines the number of threads used in the script.
  • ATTACKER_TARGET: (JSON array with URLs) Defines target sites that will be used as a targets instead of a dynamic list of sites retrieved by API.

Docker Compose

docker-compose allows you to easily run containers in parallel without having to keep multiple terminals opened. To run on servers - perfect choice.

  • Clone repository:

    git clone https://github.com/Luzhnuy/attacker.git
  • Build and run 5 containers in parallel (each handles 500 connections):

    docker-compose up --build --scale attacker=5
  • Stop containers from docker-compose.yml file: Ctrl + C


For people who are not very familiar with computer science, Windows users

  1. Download the archive https://drive.google.com/file/d/1aQR53fcbvkGY-bY0V4YhzLY6obh8H6Ln/view?usp=sharing

  2. Extract archive

    IMPORTANT! DO NOT extract files to desktop folder and not to a folder contains cyrillic symbols. Preferred place to extract is the root of the drive D:

  3. Find the install.bat file (you may see it as just install).

    Click on it using right-click, select Start as Administrator.

  4. Follow step by step everything you see in the black window (press the number of the corresponding item, press Enter, allow programs to be installed, at the end select the next item. For example "Install python (step1)" - You need to enter the number 1 and press Enter

  5. When the process of installing everything you need is complete, a wizard will open in which you can run the Attack.bat file (maybe just Attack).

In the future, you no longer need to run install, just start attack.bat to get started. You also don't need to check for updates, this process happens automatically.

⚠ If you have already installed bash on your Windows machine - do not use bash, use PowerShell or cmd