aboutsummaryrefslogtreecommitdiffstats
path: root/test/fuzzing/go_proxy
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2013-03-03 14:56:56 +1300
committerAldo Cortesi <aldo@nullcube.com>2013-03-03 14:56:56 +1300
commit7835e0c2c7be0e45262a06b5e2ec2399ae019977 (patch)
treed4aeef4b45bf6b90882873a209ab71783361a247 /test/fuzzing/go_proxy
parente608d10f455550b8afd09217f0ecf344a0bdc814 (diff)
downloadmitmproxy-7835e0c2c7be0e45262a06b5e2ec2399ae019977.tar.gz
mitmproxy-7835e0c2c7be0e45262a06b5e2ec2399ae019977.tar.bz2
mitmproxy-7835e0c2c7be0e45262a06b5e2ec2399ae019977.zip
Begin some simple fuzzing with pathod.
Finally doing what I started writing pathod for in the first place...
Diffstat (limited to 'test/fuzzing/go_proxy')
-rwxr-xr-xtest/fuzzing/go_proxy9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/fuzzing/go_proxy b/test/fuzzing/go_proxy
new file mode 100755
index 00000000..1e6bbaef
--- /dev/null
+++ b/test/fuzzing/go_proxy
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Assuming:
+# mitmproxy/mitmdump is running on port 8080 in straight proxy mode.
+# pathod is running on port 9999
+
+BASE="/Users/aldo/git/public/pathod/venv/bin/pathoc -eo -I 200,400,502 -p 8080 localhost "
+$BASE -n 1000 "get:'http://localhost:9999':ir,@1"
+
+