Merge branch 'master' of github.com:cortesi/mitmproxy

This commit is contained in:
Aldo Cortesi 2012-02-25 12:58:56 +13:00
commit 7789b602c8
2 changed files with 4 additions and 4 deletions

View File

@ -105,5 +105,5 @@ and _m_ for "method" to change the HTTP request method.
<img src="@!urlTo('mitmproxy-intercept-result.png')!@"/>
Finally, we press _a_ to accept the modified request, which is then sent on to
the server. In this case, we changed the request from an HTTP GET to to
the server. In this case, we changed the request from an HTTP GET to
OPTIONS, and Google's server has responded with a 405 "Method not allowed".

View File

@ -49,13 +49,13 @@ voila! - totally hands-free wireless network startup.
We might also want to prune requests that download CSS, JS, images and so
forth. These add only a few moments to the time it takes to replay, but they're
not really needed and I somehow feel compelled trim them anyway. So, we fire up
not really needed and I somehow feel compelled to trim them anyway. So, we fire up
the mitmproxy console tool on our serialized conversation, like so:
<pre class="terminal">
> mitmproxy wireless-login
> mitmproxy -r wireless-login
</pre>
We can now go through and manually delete (using the __d__ keyboard shortcut)
everything we want to trim. When we're done, we use __S__ to save the
everything we want to trim. When we're done, we use __w__ to save the
conversation back to the file.