Comments (5)
Sorry, you can't just edit the mitmdump files by hand. The data segment headers encode the length of the following data chunk. If you change a portion of it, and change the length, you've corrupted the file. So please treat the data dumps as binary data, just like a pcap dump. If you need to, you can edit the dump using mitmproxy, by reading the dump in, changing it in the interface, and then writing it to disk again.
from mitmproxy.
I tried that too. Same thing. Invalid data format.
On Sep 20, 2012, at 9:55 PM, Aldo Cortesi [email protected] wrote:
Sorry, you can't just edit the mitmdump files by hand. The data segment
headers encode the length of the following data chunk. If you change a
portion of it, and change the length, you've corrupted the file. So please
treat the data dumps as binary data, just like a pcap dump. If you need to,
you can edit the dump using mitmproxy, by reading the dump in, changing it
in the interface, and then writing it to disk again.
—
Reply to this email directly or view it on
GitHubhttps://github.com/cortesi/mitmproxy/issues/63#issuecomment-8751545.
from mitmproxy.
OK. You'll have to give me a lot more information though. First, a step-by-step on how to reproduce the issue. Second, what platform you're running on, what version of mitmproxy you're using, etc.
from mitmproxy.
I know how to modify the flow in mitmproxy, however, how do I read in the flow file, edit it and save it using libmproxy?
from mitmproxy.
Hi @wimbledon,
you can read an existing dump file using mitmproxy -r dumpfile
(optionall with -n
). Having modified the flows, you can save them to a new file by pressing w
-> a
in the flow list.
Cheers,
Max
from mitmproxy.
Related Issues (20)
- different output from io.FlowReader and io.FlowWrite HOT 1
- ERR_CONNECTION_RESET on android emulator HOT 2
- Cannot type header filter expression alone in mitmweb but no problem with the terminal mitmproxy
- Request to add a "clear all" button to the web interface HOT 2
- 403 access forbidden for www.youtube.com
- (trapped) error reading bcrypt version HOT 1
- Mitmdump does not exit HOT 1
- WireGuard mode in mitmproxy where find client config file? How work with it? Any documentation? HOT 1
- mitmdump 8.1.1 installed via apt fails to start - No module named 'blinker._saferef' HOT 2
- when i exec master.shutdown() the port not be free
- ImportError: `GLIBC_2.33' not found HOT 5
- 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 10
- 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".
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.