You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goal:
Reduce size of mitmdump file, by removing large response entries.
Code:
from mitmproxy import io
with open(file,'rb') as file_in:
fr = io.FlowReader(file_in)
with open(f'{file}.out', 'ab') as file_out:
fw = io.FlowWriter(file_out)
for n,f in enumerate(fr.stream()):
fw.add(f)
Got a new file, but with different sha256, so i used diff:
rgre26
changed the title
io.FlowReader and then io.FlowWrite generate different output
different output from io.FlowReader and then io.FlowWrite
Apr 15, 2024
rgre26
changed the title
different output from io.FlowReader and then io.FlowWrite
different output from io.FlowReader and io.FlowWrite
Apr 15, 2024
I can't really tell from the diff: is the flow the same with just reordered keys, or are we loosing information? The latter would be a bug we should fix. The former is less urgent, but something I'd be happy to review a PR for nonetheless, at least if it is possible to fix without adding complexity.
Goal:
Reduce size of mitmdump file, by removing large response entries.
Code:
Got a new file, but with different sha256, so i used diff:
The text was updated successfully, but these errors were encountered: