diff --git a/README.mkd b/README.mkd index 5c6e3e2f9..1b143066b 100644 --- a/README.mkd +++ b/README.mkd @@ -10,7 +10,7 @@ keyboard shortcut. Capabilities -============ +------------ - Intercept HTTP requests and responses and modify them on the fly. - Save complete HTTP conversations for later replay and analysis. @@ -21,24 +21,26 @@ Capabilities Download -======== +-------- -Releases can be found here: http://corte.si/projects.html +Releases and rendered documentation can be found on the mitmproxy website: -Source is hosted here: http://github.com/cortesi/mitmproxy +[mitmproxy.org](http://mitmproxy.org) + +Source is hosted on github: + +[github.com/cortesi/mitmproxy](http://github.com/cortesi/mitmproxy) Requirements -============ +------------ -* A recent [Python](http://www.python.org) interpreter. -* SSL certificates are generated using [openssl](http://www.openssl.org/) -* The curses interface relies on version 0.9.8 or newer of the - [urwid](http://excess.org/urwid/) library. +* A recent [Python](http://www.python.org) interpreter +* [openssl](http://www.openssl.org/) +* [urwid](http://excess.org/urwid/) version 0.9.8 or newer * The test suite uses the [pry](http://github.com/cortesi/pry) unit testing library. -* mitmproxy is tested and developed on OSX, Linux and OpenBSD. You may be able - to get it running using Cygwin on Windows, but don't count on it. +* mitmproxy is tested and developed on OSX, Linux and OpenBSD. You should also make sure that your console environment is set up with the following: diff --git a/doc-src/02-docstyle.css b/doc-src/02-docstyle.css index 5e45e0e78..df6338b26 100644 --- a/doc-src/02-docstyle.css +++ b/doc-src/02-docstyle.css @@ -1,6 +1,7 @@ a { color: #3F8ED8; + text-decoration: none; } @@ -9,7 +10,6 @@ a { font-family: Helvetica,Arial,Tahoma,Verdana,Sans-Serif; color: #555555; margin: 0; - border-bottom: 1px solid #999; margin-bottom: 1em; } #hd.doc h1 { @@ -20,8 +20,8 @@ a { font-weight: normal; } -#hd.doc #nav { - font-size: 1.5em; +#nav { + float: right; } @@ -33,24 +33,28 @@ a { } #bd h1 { - font-size: 1.6em; + font-size: 1.4em; + border-bottom: 5px solid #ff7033; margin-top: 5px; margin-bottom: 5px; + color: #000000; } #bd h2 { - font-size: 1.2em; + font-size: 1.1em; + border-bottom: 1px solid #cccccc; margin-top: 5px; margin-bottom: 5px; + color: #000000; } #ft.doc { color: #aaa; - border-top: 1px solid #aaa; - clear: both; - margin: 0 0 2em 0; - font-size: 0.8em; - letter-spacing: 0.5px; + border-top: 1px solid #aaa; + clear: both; + margin-top: 2em; + font-size: 0.8em; + letter-spacing: 0.5px; } .faq .question { @@ -60,12 +64,21 @@ a { pre { padding: 10px; - margin: 10px; + background-color: #dddddd; } .docindex, .docindex ul { margin-top: 0.1em; margin-bottom: 0; + margin-left: 0px; +} + +.docindex li { + list-style-position: inside; + margin-left: 0; +} + +.docindex ul { margin-left: 2em; } diff --git a/doc-src/_layout.html b/doc-src/_layout.html index b0e68abde..287bca873 100644 --- a/doc-src/_layout.html +++ b/doc-src/_layout.html @@ -1,22 +1,27 @@
+ - - $!title!$ + + $!nav if this.title!="docs" else ""!$ +

mitmproxy docs

-
$!body!$
+
+ $!title if this.title!="docs" else ""!$ + $!body!$ +
diff --git a/doc-src/_websitelayout.html b/doc-src/_websitelayout.html index 309c3de85..ad8eb3170 100644 --- a/doc-src/_websitelayout.html +++ b/doc-src/_websitelayout.html @@ -5,7 +5,7 @@ @@ -15,19 +15,21 @@
- + - $!title!$ + + $!nav if this.title!="docs" else ""!$ + $!title if this.title!="docs" else "

mitmproxy docs

"!$ $!body!$
diff --git a/doc-src/admin.html b/doc-src/admin.html index 6954010cf..b89cd8bc1 100644 --- a/doc-src/admin.html +++ b/doc-src/admin.html @@ -1,14 +1,7 @@ -

Contact

+Please send any comments, suggestions and bug reports to $!docMaintainerEmail!$. -

Please send any comments, suggestions and bug reports to - $!docMaintainerEmail!$. -

- - -

License

- -
-@!license!@
-
+__mitmproxy__ is licensed under Version 3 of the Gnu General Public License, +the full text of which can be found in the LICENSE file in the source +distribution. diff --git a/doc-src/certinstall/firefox.html b/doc-src/certinstall/firefox.html index 06a38e218..a107aebc0 100644 --- a/doc-src/certinstall/firefox.html +++ b/doc-src/certinstall/firefox.html @@ -1,4 +1,6 @@ +How to install the __mitmproxy__ certificate authority in Firefox: + ### 1. If needed, copy the ~/.mitmproxy/mitmproxy-ca-cert.pem file to the target. ### 2: Open preferences, click on "Advanced", then select"Encryption": diff --git a/doc-src/certinstall/ios.html b/doc-src/certinstall/ios.html index b3315e567..d306dfc67 100644 --- a/doc-src/certinstall/ios.html +++ b/doc-src/certinstall/ios.html @@ -1,4 +1,6 @@ +How to install the __mitmproxy__ certificate authority on IOS devices: + ### 1: Set up the Mail app on the device to receive email. ### 2: Mail the mitmproxy-ca-cert.pem file to the device, and tap on the attachment. diff --git a/doc-src/certinstall/osx.html b/doc-src/certinstall/osx.html index 0fc5afb27..465ada434 100644 --- a/doc-src/certinstall/osx.html +++ b/doc-src/certinstall/osx.html @@ -1,4 +1,6 @@ +How to install the __mitmproxy__ certificate authority in OSX: + ### 1: Open Finder, and double-click on the mitmproxy-ca-cert.pem file. diff --git a/doc-src/certinstall/windows7.html b/doc-src/certinstall/windows7.html index 2da2c0e39..7c2bb3eff 100644 --- a/doc-src/certinstall/windows7.html +++ b/doc-src/certinstall/windows7.html @@ -1,4 +1,6 @@ +How to install the __mitmproxy__ certificate authority in Windows 7: + ### 1: Copy the ~/.mitmproxy/mitmproxy-ca-cert.p12 file to the target system. ### 2: Double-click the certificate file. You should see a certificate import wizard: diff --git a/doc-src/faq.html b/doc-src/faq.html index 16b75d12a..a2e6810ff 100644 --- a/doc-src/faq.html +++ b/doc-src/faq.html @@ -1,7 +1,5 @@ -
- -

Any tips for running mitmproxy on OSX?

+### Any tips for running mitmproxy on OSX? You can use the OSX open program to create a simple and effective ~/.mailcap file to view HTTP bodies: @@ -14,4 +12,8 @@ video/*; /usr/bin/open -Wn %s -
+### I'd like to hack on mitmproxy. What should I work on? + +There's a __todo__ file at the top of the source tree that outlines a variety +of tasks, from simple to complex. If you don't have your own itch, feel free to +scratch one of those! diff --git a/doc-src/index.py b/doc-src/index.py index 0241e2f50..626aaaa1b 100644 --- a/doc-src/index.py +++ b/doc-src/index.py @@ -8,10 +8,10 @@ from libmproxy import filt MITMPROXY_SRC = "~/git/public/mitmproxy" if ns.options.website: - ns.title = countershape.template.Template(None, "

@!this.title!@

") + ns.title = countershape.template.Template(None, "

@!this.title!@

") this.layout = countershape.Layout("_websitelayout.html") else: - ns.title = countershape.template.Template(None, "

@!docTitle!@ - @!this.title!@

") + ns.title = countershape.template.Template(None, "

@!this.title!@

") this.layout = countershape.Layout("_layout.html") ns.docTitle = "mitmproxy" this.markup = markup.Markdown() diff --git a/doc-src/intro.html b/doc-src/intro.html index c48206c8e..79687ec61 100644 --- a/doc-src/intro.html +++ b/doc-src/intro.html @@ -1,2 +1,4 @@ @!index_contents!@ + + diff --git a/doc-src/screenshots/intercept-filt.png b/doc-src/screenshots/intercept-filt.png index 26884511b..f5d20947c 100644 Binary files a/doc-src/screenshots/intercept-filt.png and b/doc-src/screenshots/intercept-filt.png differ diff --git a/doc-src/screenshots/intercept-mid.png b/doc-src/screenshots/intercept-mid.png index 7c8049b04..2933f1cf0 100644 Binary files a/doc-src/screenshots/intercept-mid.png and b/doc-src/screenshots/intercept-mid.png differ diff --git a/doc-src/screenshots/intercept-options.png b/doc-src/screenshots/intercept-options.png index 2d9d6ece2..ef987b046 100644 Binary files a/doc-src/screenshots/intercept-options.png and b/doc-src/screenshots/intercept-options.png differ diff --git a/doc-src/screenshots/intercept-result.png b/doc-src/screenshots/intercept-result.png index f02aea7e5..3d58104da 100644 Binary files a/doc-src/screenshots/intercept-result.png and b/doc-src/screenshots/intercept-result.png differ diff --git a/doc-src/ssl.html b/doc-src/ssl.html index 16dd9d8fd..a8004082b 100644 --- a/doc-src/ssl.html +++ b/doc-src/ssl.html @@ -37,7 +37,7 @@ exceptions. Installing the mitmproxy CA -=========================== +--------------------------- * [Firefox](@!urlTo("certinstall/firefox.html")!@) * [OSX](@!urlTo("certinstall/osx.html")!@)