summaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorMax Christian Pohle2021-11-20 02:20:05 +0100
committerMax Christian Pohle2021-11-20 02:20:05 +0100
commitc9fd3111a73f3fa66b99b1819ecb8e54688b87d0 (patch)
treea2fe86f996464b32a258d747889353981997eb58 /test.sh
parent076a37921f533b97413340288d56572e11e1395b (diff)
downloadohmycgi-c9fd3111a73f3fa66b99b1819ecb8e54688b87d0.tar.bz2
ohmycgi-c9fd3111a73f3fa66b99b1819ecb8e54688b87d0.zip
The server actually serves
Diffstat (limited to 'test.sh')
-rw-r--r--test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test.sh b/test.sh
new file mode 100644
index 0000000..6cfe39c
--- /dev/null
+++ b/test.sh
@@ -0,0 +1,3 @@
1#!/bin/bash
2
3(echo -e "POST / HTTP/1.1\nContent-Type: text/html; boundary=--1234\n\n--1234\nContent-Disposition: fooo\n\n" ; dd if=/dev/urandom) | nc localhost 8080
..