aboutsummaryrefslogtreecommitdiffstats
path: root/test/fuzzing
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-02-15 14:58:46 +0100
committerMaximilian Hils <git@maximilianhils.com>2016-02-15 14:58:46 +0100
commit33fa49277a821b9d38e8c9bf0bcf2adcfa2f6f04 (patch)
tree31914a601302579ff817504019296fd7e9e46765 /test/fuzzing
parent36f34f701991b5d474c005ec45e3b66e20f326a8 (diff)
downloadmitmproxy-33fa49277a821b9d38e8c9bf0bcf2adcfa2f6f04.tar.gz
mitmproxy-33fa49277a821b9d38e8c9bf0bcf2adcfa2f6f04.tar.bz2
mitmproxy-33fa49277a821b9d38e8c9bf0bcf2adcfa2f6f04.zip
move mitmproxy
Diffstat (limited to 'test/fuzzing')
-rw-r--r--test/fuzzing/.env6
-rw-r--r--test/fuzzing/README14
-rw-r--r--test/fuzzing/client_patterns4
-rwxr-xr-xtest/fuzzing/go_proxy29
-rw-r--r--test/fuzzing/reverse_patterns9
-rw-r--r--test/fuzzing/straight_stream6
-rw-r--r--test/fuzzing/straight_stream_patterns17
-rw-r--r--test/fuzzing/straight_stream_ssl6
8 files changed, 0 insertions, 91 deletions
diff --git a/test/fuzzing/.env b/test/fuzzing/.env
deleted file mode 100644
index 82ae6a8d..00000000
--- a/test/fuzzing/.env
+++ /dev/null
@@ -1,6 +0,0 @@
-
-MITMDUMP=../../mitmdump
-PATHOD=../../../pathod/pathod
-PATHOC=../../../pathod/pathoc
-FUZZ_SETTINGS=-remTt 1 -n 0
-
diff --git a/test/fuzzing/README b/test/fuzzing/README
deleted file mode 100644
index 2760506f..00000000
--- a/test/fuzzing/README
+++ /dev/null
@@ -1,14 +0,0 @@
-
-A fuzzing architecture for mitmproxy
-====================================
-
-Quick start:
-
- honcho -f ./straight_stream start
-
-
-Notes:
-
- - Processes are managed using honcho (pip install honcho)
- - Paths and common settings live in .env
-
diff --git a/test/fuzzing/client_patterns b/test/fuzzing/client_patterns
deleted file mode 100644
index 83457b6f..00000000
--- a/test/fuzzing/client_patterns
+++ /dev/null
@@ -1,4 +0,0 @@
-get:'http://localhost:9999/p/200':ir,"\n"
-get:'http://localhost:9999/p/200':ir,"\0"
-get:'http://localhost:9999/p/200':ir,@5
-get:'http://localhost:9999/p/200':dr
diff --git a/test/fuzzing/go_proxy b/test/fuzzing/go_proxy
deleted file mode 100755
index ea29400f..00000000
--- a/test/fuzzing/go_proxy
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-# Assuming:
-# mitmproxy/mitmdump is running on port 8080 in straight proxy mode.
-# pathod is running on port 9999
-
-BASE="../../../"
-BASE_HTTP=$BASE"/pathod/pathoc -Tt 1 -e -I 200,400,405,502 -p 8080 localhost "
-BASE_HTTPS=$BASE"/pathod/pathoc -sc localhost:9999 -Tt 1 -eo -I 200,400,404,405,502,800 -p 8080 localhost "
-
-#$BASE_HTTP -n 10000 "get:'http://localhost:9999':ir,@1"
-#$BASE_HTTP -n 100 "get:'http://localhost:9999':dr"
-#$BASE_HTTP -n 10000 "get:'http://localhost:9999/p/200':ir,@300"
-
-#$BASE_HTTP -n 10000 "get:'http://localhost:9999/p/200:ir,@1'"
-#$BASE_HTTP -n 100 "get:'http://localhost:9999/p/200:dr'"
-#$BASE_HTTP -n 10000 "get:'http://localhost:9999/p/200:ir,@100'"
-
-
-# Assuming:
-# mitmproxy/mitmdump is running on port 8080 in straight proxy mode.
-# pathod with SSL enabled is running on port 9999
-
-#$BASE_HTTPS -en 10000 "get:'/p/200:b@100:ir,@1'"
-#$BASE_HTTPS -en 10000 "get:'/p/200:ir,@1'"
-
-#$BASE_HTTPS -n 100 "get:'/p/200:dr'"
-#$BASE_HTTPS -n 10000 "get:'/p/200:ir,@3000'"
-#$BASE_HTTPS -n 10000 "get:'/p/200:ir,\"\\n\"'"
-
diff --git a/test/fuzzing/reverse_patterns b/test/fuzzing/reverse_patterns
deleted file mode 100644
index 8d1d76a2..00000000
--- a/test/fuzzing/reverse_patterns
+++ /dev/null
@@ -1,9 +0,0 @@
-get:'/p/200':b@10:ir,"\n"
-get:'/p/200':b@10:ir,"\r\n"
-get:'/p/200':b@10:ir,"\0"
-get:'/p/200':b@10:ir,@5
-get:'/p/200':b@10:dr
-
-get:'/p/200:b@10:ir,@1'
-get:'/p/200:b@10:dr'
-get:'/p/200:b@10:ir,@100'
diff --git a/test/fuzzing/straight_stream b/test/fuzzing/straight_stream
deleted file mode 100644
index 41e2a6e1..00000000
--- a/test/fuzzing/straight_stream
+++ /dev/null
@@ -1,6 +0,0 @@
-
-mitmdump: $MITMDUMP
-pathod: $PATHOD
-pathoc: sleep 2 && $PATHOC $FUZZ_SETTINGS localhost:8080 ./straight_stream_patterns
-#pathoc: sleep 2 && $PATHOC localhost:8080 /tmp/err
-
diff --git a/test/fuzzing/straight_stream_patterns b/test/fuzzing/straight_stream_patterns
deleted file mode 100644
index 93a066e6..00000000
--- a/test/fuzzing/straight_stream_patterns
+++ /dev/null
@@ -1,17 +0,0 @@
-get:'http://localhost:9999/p/':s'200:b"foo"':ir,'\n'
-get:'http://localhost:9999/p/':s'200:b"foo"':ir,'a'
-get:'http://localhost:9999/p/':s'200:b"foo"':ir,'9'
-get:'http://localhost:9999/p/':s'200:b"foo"':ir,':'
-get:'http://localhost:9999/p/':s'200:b"foo"':ir,'"'
-get:'http://localhost:9999/p/':s'200:b"foo"':ir,'-'
-
-get:'http://localhost:9999/p/':s'200:b"foo":ir,"\n"'
-get:'http://localhost:9999/p/':s'200:b"foo":ir,"a"'
-get:'http://localhost:9999/p/':s'200:b"foo":ir,"9"'
-get:'http://localhost:9999/p/':s'200:b"foo":ir,":"'
-get:'http://localhost:9999/p/':s"200:b'foo':ir,'\"'"
-get:'http://localhost:9999/p/':s'200:b"foo":ir,"-"'
-get:'http://localhost:9999/p/':s'200:b"foo":dr'
-
-get:'http://localhost:9999/p/':s'200:b"foo"':ir,@2
-get:'http://localhost:9999/p/':s'200:b"foo":ir,@2'
diff --git a/test/fuzzing/straight_stream_ssl b/test/fuzzing/straight_stream_ssl
deleted file mode 100644
index 708ff0b3..00000000
--- a/test/fuzzing/straight_stream_ssl
+++ /dev/null
@@ -1,6 +0,0 @@
-
-mitmdump: $MITMDUMP -q --stream 1
-pathod: $PATHOD
-pathoc: sleep 2 && $PATHOC $FUZZ_SETTINGS localhost:8080 ./straight_stream_patterns
-#pathoc: sleep 2 && $PATHOC localhost:8080 /tmp/err
-