-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seeking help on how to dump flows and start mitmproxy all from a script #3306
Comments
Trying a different approach. New test script following issues here is
This creates an error I also see that the the |
anyone had any luck with this? |
You'd definitely need to do |
This worked for me:
Another alternative without subprocess, but probably not what you want:
|
This is great @0xEmanuel or @mhils . How can i go about writing the flows from |
options.Options(block_global=False, listen_host='0.0.0.0', listen_port=listen_port, mode = mode, output_path = output_path, scripts = scripts) using this way, error raised: how to add those option supports which are not in Options? |
Using this way, it works. Cool~~~
|
You are looking for this https://gist.github.com/akhil-reni/61afdf945cbad04614caa35ddaecb92b |
Steps to reproduce the problem:
Not an issue. I am failing to understand how i can start the proxy from a script, and then write any flows on a file. Here is my script so far. Script is a put together form various script ideas by googling around. didnt want to create an issue, but couldnt really get in help on twitter/slack/irc etc. I understand this is simper to do using subprocess, but i am not trying to use subprocess
System information
Mitmproxy: 4.0.4
Python: 3.7.0
OpenSSL: OpenSSL 1.1.0h 27 Mar 2018
Platform: Darwin-16.7.0-x86_64-i386-64bit
The text was updated successfully, but these errors were encountered: