2013-03-03 01:56:56 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Assuming:
|
|
|
|
# mitmproxy/mitmdump is running on port 8080 in straight proxy mode.
|
|
|
|
# pathod is running on port 9999
|
|
|
|
|
2014-10-26 04:13:25 +00:00
|
|
|
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 "
|
|
|
|
|
2013-03-03 09:03:27 +00:00
|
|
|
#$BASE_HTTP -n 10000 "get:'http://localhost:9999':ir,@1"
|
|
|
|
#$BASE_HTTP -n 100 "get:'http://localhost:9999':dr"
|
2014-10-26 04:13:25 +00:00
|
|
|
#$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'"
|
2013-03-03 01:56:56 +00:00
|
|
|
|
|
|
|
|
2013-03-03 09:03:27 +00:00
|
|
|
# Assuming:
|
|
|
|
# mitmproxy/mitmdump is running on port 8080 in straight proxy mode.
|
|
|
|
# pathod with SSL enabled is running on port 9999
|
|
|
|
|
2014-10-26 04:13:25 +00:00
|
|
|
#$BASE_HTTPS -en 10000 "get:'/p/200:b@100:ir,@1'"
|
2013-03-03 09:39:26 +00:00
|
|
|
#$BASE_HTTPS -en 10000 "get:'/p/200:ir,@1'"
|
|
|
|
|
|
|
|
#$BASE_HTTPS -n 100 "get:'/p/200:dr'"
|
2013-03-03 09:03:27 +00:00
|
|
|
#$BASE_HTTPS -n 10000 "get:'/p/200:ir,@3000'"
|
2013-03-03 09:39:26 +00:00
|
|
|
#$BASE_HTTPS -n 10000 "get:'/p/200:ir,\"\\n\"'"
|
2014-10-26 04:13:25 +00:00
|
|
|
|