mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 10:16:27 +00:00
Use raw_display instead of curses_display.
This commit is contained in:
parent
2e70a0e44b
commit
9b961a8236
@ -1,19 +1,9 @@
|
|||||||
|
|
||||||
<div class="faq">
|
<div class="faq">
|
||||||
|
|
||||||
<p class="question">On some sites I see a lot of "Connection from.."
|
<p class="question">Any tips for running mitmproxy on OSX?</p>
|
||||||
entries that never complete.</p>
|
|
||||||
|
|
||||||
<p> This is probably because the page requests resources from SSL-protected
|
|
||||||
domains. These requests are intercepted by mitmproxy, but because we're
|
|
||||||
using a bogus certificate, the browser-side of the connection hangs. The
|
|
||||||
browser doesn't prompt you to add a certificate trust exception for remote
|
|
||||||
page components, only for the primary domain being visited. </p>
|
|
||||||
|
|
||||||
<p> To solve this, use something like FireBug to find out which page
|
|
||||||
components are hanging. Visit the relevant domains using your browser, and
|
|
||||||
add a certificate trust exception for each one. </p>
|
|
||||||
|
|
||||||
|
Coming soon.
|
||||||
|
|
||||||
<p class="question">I'm pentesting an non-browser app that checks SSL
|
<p class="question">I'm pentesting an non-browser app that checks SSL
|
||||||
certificate validity. How do I make it trust the MITMProxy certificate?</p>
|
certificate validity. How do I make it trust the MITMProxy certificate?</p>
|
||||||
|
@ -1,19 +1,21 @@
|
|||||||
|
|
||||||
|
|
||||||
* [Introduction](@!urlTo("intro.html")!@)
|
* [Introduction](@!urlTo("intro.html")!@)
|
||||||
* [mitmproxy](@!urlTo("mitmproxy.html")!@) - Console-based HTTP Swiss Army Knife.
|
* Tutorials
|
||||||
* [Tutorial](@!urlTo("mitmproxy/tutorial.html")!@)
|
* Client replay: a 30 second example
|
||||||
* [mitmdump](@!urlTo("mitmdump.html")!@) - tcpdump for HTTP conversations
|
* Scripting: On-the-fly modifications to HTTP conversations
|
||||||
* [Tutorial](@!urlTo("mitmproxy/tutorial.html")!@)
|
* Breaking iPhone apps for fun and profit
|
||||||
* [Client scripts](@!urlTo("scripts.html")!@) - Writing client scripts for mitmproxy and mitmdump
|
* Reference
|
||||||
* [libmproxy](@!urlTo("library.html")!@) - Using the mitmproxy library
|
* [mitmproxy - HTTP Swiss Army Knife](@!urlTo("/mitmproxy.html")!@)
|
||||||
* [SSL](@!urlTo("ssl.html")!@) - Installing mitmproxy's SSL certificate
|
* [mitmdump - A tcpdump-like tool for HTTP](@!urlTo("/mitmdump.html")!@)
|
||||||
* Browsers:
|
* [Client scripts](@!urlTo("scripts.html")!@)
|
||||||
|
* [libmproxy](@!urlTo("library.html")!@) - Using the mitmproxy library
|
||||||
|
* Installing mitmproxy's SSL certificate
|
||||||
* [Firefox](@!urlTo("ssl.html")!@#firefox)
|
* [Firefox](@!urlTo("ssl.html")!@#firefox)
|
||||||
* [Chrome](@!urlTo("ssl.html")!@#chrome)
|
* [Chrome](@!urlTo("ssl.html")!@#chrome)
|
||||||
* [Safari](@!urlTo("ssl.html")!@#safari)
|
* [Safari](@!urlTo("ssl.html")!@#safari)
|
||||||
* [IE8](@!urlTo("ssl.html")!@#ie)
|
* [IE8](@!urlTo("ssl.html")!@#ie)
|
||||||
* Global installation:
|
* System-wide installation:
|
||||||
* [Windows 7](@!urlTo("ssl.html")!@#windows7)
|
* [Windows 7](@!urlTo("ssl.html")!@#windows7)
|
||||||
* [iPhone/iPad](@!urlTo("ssl.html")!@#ios)
|
* [iPhone/iPad](@!urlTo("ssl.html")!@#ios)
|
||||||
* [FAQ](@!urlTo("faq.html")!@)
|
* [FAQ](@!urlTo("faq.html")!@)
|
||||||
|
@ -31,9 +31,7 @@ pages = [
|
|||||||
Page("index.html", "Index"),
|
Page("index.html", "Index"),
|
||||||
Page("intro.html", "Introduction"),
|
Page("intro.html", "Introduction"),
|
||||||
Page("mitmproxy.html", "mitmproxy"),
|
Page("mitmproxy.html", "mitmproxy"),
|
||||||
Directory("mitmproxy"),
|
|
||||||
Page("mitmdump.html", "mitmdump"),
|
Page("mitmdump.html", "mitmdump"),
|
||||||
Directory("mitmdump"),
|
|
||||||
Page("scripts.html", "External scripts"),
|
Page("scripts.html", "External scripts"),
|
||||||
Page("library.html", "libmproxy: mitmproxy as a library"),
|
Page("library.html", "libmproxy: mitmproxy as a library"),
|
||||||
Page("ssl.html", "SSL"),
|
Page("ssl.html", "SSL"),
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
from countershape import Page, Directory, PythonModule, markup
|
|
||||||
|
|
||||||
pages = [
|
|
||||||
Page("tutorial.html", "Tutorial"),
|
|
||||||
]
|
|
@ -1,5 +0,0 @@
|
|||||||
from countershape import Page, Directory, PythonModule, markup
|
|
||||||
|
|
||||||
pages = [
|
|
||||||
Page("tutorial.html", "Tutorial"),
|
|
||||||
]
|
|
@ -16,7 +16,7 @@
|
|||||||
import Queue, mailcap, mimetypes, tempfile, os, subprocess, glob, time
|
import Queue, mailcap, mimetypes, tempfile, os, subprocess, glob, time
|
||||||
import os.path, sys
|
import os.path, sys
|
||||||
import cStringIO
|
import cStringIO
|
||||||
import urwid.curses_display
|
import urwid.raw_display
|
||||||
import urwid
|
import urwid
|
||||||
import controller, utils, filt, proxy, flow
|
import controller, utils, filt, proxy, flow
|
||||||
|
|
||||||
@ -992,7 +992,7 @@ class ConsoleMaster(flow.FlowMaster):
|
|||||||
self.viewstate = VIEW_CONNLIST
|
self.viewstate = VIEW_CONNLIST
|
||||||
self.currentflow = None
|
self.currentflow = None
|
||||||
|
|
||||||
self.ui = urwid.curses_display.Screen()
|
self.ui = urwid.raw_display.Screen()
|
||||||
self.ui.register_palette(self.palette)
|
self.ui.register_palette(self.palette)
|
||||||
self.conn_list_view = ConnectionListView(self, self.state)
|
self.conn_list_view = ConnectionListView(self, self.state)
|
||||||
|
|
||||||
@ -1027,7 +1027,7 @@ class ConsoleMaster(flow.FlowMaster):
|
|||||||
self.make_view()
|
self.make_view()
|
||||||
|
|
||||||
def view_connlist(self):
|
def view_connlist(self):
|
||||||
if self.ui.s:
|
if self.ui.started:
|
||||||
self.ui.clear()
|
self.ui.clear()
|
||||||
if self.currentflow:
|
if self.currentflow:
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user