techsd / battle-tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Important

  • Tested on Ubuntu 20.04
  • For now supported SSH keys only
  • PRs are welcome

Overview

Sometimes we may need good internet channel, especially since Feb 24. There may be no good internet channel or no access to the VPN. Solution to it is to set up a server with tools. All you need is to create virtual server or rent physical server

Details

This is set ansible roles to install core tools on remote server

  • Wireguard VPN, config will be fetched to local
  • Docker
  • tmux

Monitoring tools

Install

Deps

  • pip - python package manager. Install doc can be found here, note, I've not tested it.
  • Wireguard client, install doc can be found here

Install Ansible

If you have pip installed, than install via pip - reference In short, run

python -m pip install --user ansible

Run

Digital ocean

export a_user="root"
export a_ip="SERVER_IP"
ansible-playbook -i "${a_ip}," -u ${a_user} -b play.yaml

Use

Wireguard

Use tools/get shell

Ensure that you have exported variables from Run according to your hosting provider and run following

ssh ${a_user}@${a_ip}

Siege Engine

Tool for SYN flood, ref

docker run --rm -it mack/battle-tools python3 -m siege_engine 300 tass.com

Bombardier

Tool for HTTP stress

docker run --rm -it mack/battle-tools bombardier -c 200 -d 300s -l https://mininform.gov.by

About


Languages

Language:Shell 45.2%Language:Dockerfile 31.5%Language:Jinja 23.3%