Comments (3)
Hi Carl,
On 20/03/2012, at 11:22 AM, Carl Jahn wrote:
i downloaded the source and installed mitmproxy with the following command:
sudo python setup.py installIf i try to start mitmproxy with:
./mitmproxy -p 8899I get the following errors:
Traceback (most recent call last):
File "./mitmproxy", line 19, in
from libmproxy import proxy, console, cmdline
File "/Users/carl.jahn/Downloads/cortesi-mitmproxy-bc3ba4c/libmproxy/proxy.py", line 24, in
import utils, flow, certutils
File "/Users/carl.jahn/Downloads/cortesi-mitmproxy-bc3ba4c/libmproxy/certutils.py", line 2, in
from pyasn1.type import univ, constraint, char, namedtype, tag
ImportError: No module named pyasn1.type
The current development version of mitmproxy has two new dependencies - pyasn1 and PyOpenSSL. You will have to install those first if you want to run the github master. If you have pip installed on your system, this should be as simple as going "pip install pyasn1" and "pip install pyopenssl". If not, it's probably easiest to download them from the original sites.
The most recent release does not require these two dependencies, so just downloading 0.7 from mitmproxy.org is also an option.
Cheers,
Aldo
Aldo Cortesi
blog: http://corte.si
twitter: @cortesi
work: www.nullcube.com
+64 210 718 900
from mitmproxy.
Hey Carl,
Did you sort this out? This comment seems to have disappeared from the bug report.
Aldo
On 20/03/2012, at 11:38 AM, Carl Jahn wrote:
Hi Cortesi,
i downloaded the 0.7 Version from mitmproxy.org and installed with:
sudo python setup.py instal
if i start mitmproxy with:
./mitmproxy -p 8899
I get the following errors if a client connects:
Traceback (most recent call last):
File "./mitmproxy", line 61, in
m.run()
File "/Users/test/Downloads/mitmproxy-0.7/libmproxy/console/init.py", line 509, in run
self.ui.run_wrapper(self.loop)
File "/Users/test/Downloads/mitmproxy-0.7/urwid/raw_display.py", line 237, in run_wrapper
return fn()
File "/Users/test/Downloads/mitmproxy-0.7/libmproxy/console/init.py", line 707, in loop
changed = self.tick(self.masterq)
File "/Users/test/Downloads/mitmproxy-0.7/libmproxy/flow.py", line 1298, in tick
return controller.Master.tick(self, q)
File "/Users/test/Downloads/mitmproxy-0.7/libmproxy/controller.py", line 77, in tick
self.handle(msg)
File "/Users/test/Downloads/mitmproxy-0.7/libmproxy/controller.py", line 97, in handle
m(msg)
File "/Users/test/Downloads/mitmproxy-0.7/libmproxy/flow.py", line 1376, in handle_clientconnect
self.add_event("Connect from: %s:%s"%cc.address)
File "/Users/test/Downloads/mitmproxy-0.7/libmproxy/console/init.py", line 893, in add_event
self.eventlist.set_focus(len(self.eventlist))
File "/Users/test/Downloads/mitmproxy-0.7/urwid/listbox.py", line 177, in set_focus
raise IndexError, "No widget at position %s" % (position,)
IndexError: No widget at position 1
Reply to this email directly or view it on GitHub:
https://github.com/cortesi/mitmproxy/issues/37#issuecomment-4585370
Aldo Cortesi
blog: http://corte.si
twitter: @cortesi
work: www.nullcube.com
+64 210 718 900
from mitmproxy.
Hi,
yes i solved the problem. thanks for your help.
maybe you should a installation guide/section at the description.
from mitmproxy.
Related Issues (20)
- HTTP/2 protocol error: Invalid input ConnectionInputs.RECV_DATA HOT 5
- httpauth is not attached to replay request
- Support HTTP/2 Conversion to HTTP/3
- Docker - usermod: group '1001' does not exist HOT 1
- When I used mitmproxy to grab my bag, my phone got so hot that I felt like it was going to explode
- attrs = self._cert.subject.get_attributes_for_oid HOT 1
- Mitmproxy taking long time to respond on Macbook M1 Sonoma HOT 11
- some data does not go through mitm on android 4.4.4 (TLS handshake failed) ? HOT 6
- When using mitmproxy, sometimes client gets "502 BadGateway".
- Change http to https
- Record failed TLS client handshakes in UI and to mitm dump file (not only in log) HOT 1
- disable temporary filter feature HOT 4
- Save decoded GRPC/Protocol Buffer content with mitmdump HOT 1
- [Feature request] Copy as Python Requests
- Mitmproxy unusably slow with large responses in reverse mode HOT 10
- Transparent mode on Windows Server 2022 (AWS) HOT 4
- mac m1 | protobuf<3.19,>=3.14| only 3 can be used at least 20 HOT 3
- Wireguard mode with MITM with docker container doesn't work HOT 8
- Downgradin Https To Http Not Work (sslstrip.py)
- mitmdump crashes on dns requests in reverse proxy mode HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mitmproxy.