Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here

tupperwarewithspears

Distributed load testing with containers, Apache benchmark, with OpenVSwitch for networking.

Subscribe to updates I use tupperwarewithspears


Statistics on tupperwarewithspears

Number of watchers on Github 97
Number of open issues 1
Average time to close an issue 1 day
Main language Go
Open pull requests 0+
Closed pull requests 0+
Last commit almost 3 years ago
Repo Created about 4 years ago
Repo Last Updated over 1 year ago
Size 9 KB
Organization / Authorjessfraz
Contributors1
Page Updated
Do you use tupperwarewithspears? Leave a review!
View tupperwarewithspears activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating tupperwarewithspears for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

tupperwarewithspears

Based off the awesome project beeswithmachineguns, but this uses containers.

Each container is run from a jess/ab image, which is just the apache benchmark utility.

If you pass in a cidr with -cidr and gateway with -gateway, containers will be given ips and have outbound traffic routed via that IP. This uses openvswitch and a super gross implementation of shelling out to ovs-vsctl & ip netns exec.

NOTE: Do not use this for evil. Consider yourself warned.

$ tws
 _
| |___      _____
| __\ \ /\ / / __|
| |_ \ V  V /\__ \
 \__| \_/\_/ |___/
 Tupperware with Spears (A DDoS Production)
 Author:    Jess Frazelle
 Email:     no-reply@butts.com
 Version:   v0.1.0

 tws [options] [http[s]://]hostname[:port]/path

 Usage of tws:
  -A="": auth-username:password
  -C="": cookie-name=value;cookie-name=value
  -H="": custom-header;custom-header
  -P="": proxy-auth-username:password
  -T="": content type
  -bridge="tws0": bridge name
  -c=100: number of multiple requests to perform at a time. Default is one request at a time
  -cidr="": ip cidr to use for interface from containers
  -d=false: run in debug mode
  -dockerHost="unix://var/run/docker.sock": docker daemon socket to connect to
  -f="ALL": specify SSL/TLS protocol (SSL2, SSL3, TLS1, or ALL)
  -gateway="": set gateway for outbound traffic
  -m="GET": method
  -n=10000: number of requests to perform for the benchmarking session
  -nc=16: number of containers (tupperware) to attack with
  -s=30: timeout, seconds to max. wait for each respone
  -t=0: timelimit, implies a -n 50000 internally
  -tlscert="": path to TLS certificate file
  -tlskey="": path to TLS key file
  -v=3: verbosity, 4 -> headers, 3 -> response codes, 2 -> warnings/info
  -version=false: print version and exit

Installing:

$ go get github.com/jessfraz/tupperwarewithspears/cmd/tws

Example:

$ tws -nc 21 -n 10000 -c 250 https://google.com
tupperwarewithspears open issues Ask a question     (View All Issues)
  • over 3 years Error during installation
tupperwarewithspears list of languages used
Other projects in Go