Neale Pickett
·
2019-04-29
smash
1#! /bin/sh
2
3## Run two of these to trigger the race condition from
4
5BASEURL=http://localhost:8080
6URL=$BASEURL/answer
7
8while true; do
9 curl \
10 -X POST \
11 -F "cat=byobf" \
12 -F "points=10" \
13 -F "id=test" \
14 -F "answer=6" \
15 $URL
16done