8000 GitHub - Yneth/distress-releases at 0.7.12
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Yneth/distress-releases

Repository files navigation

Distress

pen-testing tool

Features

  • by default uses proxies of all possible countries
  • built-in support of tor exit nodes (refer to the use-tor flag)
  • low CPU usage
  • supports a large number of platforms
  • automatic target updates from ITArmy UA

Usage tips

Warning Make sure to use VPN with --use-my-ip option

Warning Do not mix VPN with proxy, as it may yield poor performance

Warning To make it run in background use screen or tmux utilities

During testing, I've found the following configurations to give max performance in a decreasing order:

  1. --use-my-ip 100 - or using x100 tool
  2. `` -- no params, proxy mode
  3. --use-tor 50 - mix of tor and proxies

Traffic limitation

System optimizations

Installation

x100

Note X100+Distress is best to use on VPS servers, as it reduces significantly the probability of a ban.

Distress is integrated in x100 tool, you can read the full documentation on how to set up and run here.

Linux

wget https://github.com/Yneth/distress-releases/releases/latest/download/distress_x86_64-unknown-linux-musl
chmod +x distress_x86_64-unknown-linux-musl
./distress_x86_64-unknown-linux-musl
with screen
wget https://github.com/Yneth/distress-releases/releases/latest/download/distress_x86_64-unknown-linux-musl
chmod +x distress_x86_64-unknown-linux-musl
screen -S "distress" ./distress_x86_64-unknown-linux-musl

MacOS

wget https://github.com/Yneth/distress-releases/releases/latest/download/distress_x86_64-apple-darwin
chmod +x distress_x86_64-apple-darwin && sudo xattr -d com.apple.quarantine distress_x86_64-apple-darwin
./distress_x86_64-apple-darwin

Windows

Note it is preferred to install Linux version via WSL as it is more stable and gives better performance

download and run the latest binary

Docker

docker run --rm -it --pull always --network host ghcr.io/yneth/distress 

Community

If you encounter errors during distress usage, please refer to github issues or telegram community

Output Description

Column Description
active_connections Number of successfully established connections that are running flood at the current moment
bps Average bits per second since last log message
rps Average requests per second since last log message
pps Average packets per second since last log message
pending_connections Number of connections to be established for flood at the current moment

Help

pen-testing tool

Usage: distress [OPTIONS]

Options:
  -c, --concurrency <CONCURRENCY>
          number of task spawners [default: 4096]
  -t, --targets-path <TARGETS_PATH>
          path or url to get configuration from [default: itarmy_ua]
  -v, --verbose...
          Increase logging verbosity
  -q, --quiet...
          Decrease logging verbosity
      --disable-auto-update
          disables automatic updates
      --use-my-ip <USE_MY_IP>
          hint to use your ip in % of requests from 0 to 100 inclusive works amazing with VPN [default: 0]
      --use-tor <USE_TOR>
          number of tor connections per target to use, max 100
      --log-per-target
          Enables togging info for targets
      --log-interval-sec <LOG_INTERVAL_SEC>
          manages log frequency
      --json-logs
          print logs as json
      --user-id <USER_ID>
          send personalized user stats to receive rewards in future
      --source <SOURCE>
          send run source info
      --interface <INTERFACE>
          advanced: socket interface name to use, linux only
      --read-timeout <READ_TIMEOUT>
          advanced: socket read timeout in milliseconds [default: 10000]
      --tls-connect-timeout <TLS_CONNECT_TIMEOUT>
          advanced: tls handshake timeout in milliseconds [default: 10000]
      --connect-timeout <CONNECT_TIMEOUT>
          advanced: socket connect timeout for targets and proxies in milliseconds [default: 10000]
      --proxy-connect-timeout <PROXY_CONNECT_TIMEOUT>
          advanced: socket proxy connect timeout for targets and proxies in milliseconds [default: 10000]
      --tor-connect-timeout <TOR_CONNECT_TIMEOUT>
          advanced: tor connect timeout in milliseconds [default: 10000]
      --h2-handshake-timeout <H2_HANDSHAKE_TIMEOUT>
          advanced: h2 handshake timeout in milliseconds [default: 10000]
      --h2-ready-send-timeout <H2_READY_SEND_TIMEOUT>
          advanced: h2 handshake timeout in milliseconds [default: 10000]
      --buffer-read-size <BUFFER_READ_SIZE>
          advanced: stream buffer read size
      --buffer-write-size <BUFFER_WRITE_SIZE>
          advanced: stream buffer write size
      --requests-per-conn <REQUESTS_PER_CONN>
          advanced: hint to send specific amount requests per single connection [default: 128]
      --so-send-buf <SO_SEND_BUF>
          advanced: SO_SNDBUF option, see linux man for more
      --so-recv-buf <SO_RECV_BUF>
          advanced: SO_RCVBUF option, see linux man for more
      --disable-so-buf
          advanced: disable so_send_buf, so_recv_buf
      --disable-so-nolinger
          advanced: disable so_linger(0)
      --disable-tcp-nodelay
          advanced: disable tcp_nodelay option
      --disable-packet-flood
          advanced: disable packet flood
      --direct-udp-mixed-flood
          
      --prefer-native-tls
          advanced: use nativetls implementation instead of rustls
      --worker-threads <WORKER_THREADS>
          advanced: customize worker thread count for tokio scheduler
  -h, --help
          Print help
  -V, --version
          Print version

About

releases of load-testing tool called 'distress' written in rust.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •  
0