Skip to content

Using ctx.master #5082

Answered by hacker-jak
hacker-jak asked this question in Q&A
Discussion options

You must be logged in to vote

I think I have solved my own issue. I was reading in flows from a saved mitmdump file with io.FlowReader but I wasn't running my script in the context of mitmproxy. Running my script with mitmproxy -s <script.py> successfully read in my dumpfile and repeated those requests with ctx.master.commands.call("replay.client", [flow]).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hacker-jak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant