diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-09-26 11:21:40 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-09-26 11:21:40 +1200 |
commit | 424d15c28ba46d2d42b96d2247166eb13b4c7b8e (patch) | |
tree | dbb9c82af63cbbc26f797005dbfa2841d8d6bb5b | |
parent | b67d99638a8e57b4558f094c62efc12189137a80 (diff) | |
download | mitmproxy-424d15c28ba46d2d42b96d2247166eb13b4c7b8e.tar.gz mitmproxy-424d15c28ba46d2d42b96d2247166eb13b4c7b8e.tar.bz2 mitmproxy-424d15c28ba46d2d42b96d2247166eb13b4c7b8e.zip |
Expand the docs to explain pathoc multiple requests.
-rw-r--r-- | libpathod/templates/docs_pathoc.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/libpathod/templates/docs_pathoc.html b/libpathod/templates/docs_pathoc.html index e1bef4d5..5c07aee3 100644 --- a/libpathod/templates/docs_pathoc.html +++ b/libpathod/templates/docs_pathoc.html @@ -45,6 +45,43 @@ the command-line help:</p> <section> <div class="page-header"> + <h1>Multiple Requests</h1> + </div> + + <p>There are two ways to tell pathoc to issue multiple requests. The first + is to specify them on the command-line, like so:</p> + + <pre class="terminal">> pathoc google.com get:/ get:/ +<< 301 Moved Permanently: 219 bytes +<< 301 Moved Permanently: 219 bytes</pre> + + <p> In this case, pathoc issues the specified requests over the same TCP + connection - so in the above example only one connection is made to + google.com </p> + + <p> The other way to issue multiple requets is to use the <b>-n</b> flag:</p> + + <pre class="terminal">> pathoc -n 2 google.com get:/ +<< 301 Moved Permanently: 219 bytes +<< 301 Moved Permanently: 219 bytes</pre> + + <p> The output is identical, but two separate TCP connections are made to + the upstream server. These two specification styles can be combined:</p> + + <pre class="terminal">> pathoc -n 2 google.com get:/ get:/ +<< 301 Moved Permanently: 219 bytes +<< 301 Moved Permanently: 219 bytes +<< 301 Moved Permanently: 219 bytes +<< 301 Moved Permanently: 219 bytes</pre> + + <p> Here, two distinct TCP connections are made, with two requests issued + over each. </p> + +</section> + + +<section> + <div class="page-header"> <h1>Basic Fuzzing</h1> </div> |