diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2013-03-03 22:03:27 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2013-03-03 22:03:27 +1300 |
commit | cde66cd58470cd68a76a9d8b1022a45e99a5cd8d (patch) | |
tree | cbac0a374b930cfe459c4dda6e9c20dae62dbfb1 /test/fuzzing | |
parent | 8216801728ea2af82614025ca309a3b5db2ad982 (diff) | |
download | mitmproxy-cde66cd58470cd68a76a9d8b1022a45e99a5cd8d.tar.gz mitmproxy-cde66cd58470cd68a76a9d8b1022a45e99a5cd8d.tar.bz2 mitmproxy-cde66cd58470cd68a76a9d8b1022a45e99a5cd8d.zip |
Fuzzing, and fixes for errors found with fuzzing.
Diffstat (limited to 'test/fuzzing')
-rwxr-xr-x | test/fuzzing/go_proxy | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/test/fuzzing/go_proxy b/test/fuzzing/go_proxy index 5960d081..50588049 100755 --- a/test/fuzzing/go_proxy +++ b/test/fuzzing/go_proxy @@ -3,7 +3,18 @@ # 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,405,502 -p 8080 localhost " -$BASE -n 10000 "get:'http://localhost:9999':ir,@1" +BASE_HTTP="/Users/aldo/git/public/pathod/pathoc -Tt 1 -eo -I 200,400,405,502 -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.0 +# Assuming: +# mitmproxy/mitmdump is running on port 8080 in straight proxy mode. +# pathod with SSL enabled is running on port 9999 + +BASE_HTTPS="/Users/aldo/git/public/pathod/pathoc -sc localhost:9999 -Tt 1 -eo -I 200,400,404,405,502,800 -p 8080 localhost " +$BASE_HTTPS -en 10000 "get:/p/200:ir,@1" +#$BASE_HTTP -n 100 "get:/p/'200:dr'" +#$BASE_HTTPS -n 10000 "get:'/p/200:ir,@3000'" +#$BASE_HTTPS -n 10000 "get:'/p/200:ir,\"\ \n \"'" |