-
Notifications
You must be signed in to change notification settings - Fork 221
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
Output file always empty #173
Comments
Hmm it's hard to tell what's wrong from the description. Maybe you are using If you can you can upload the flow file and I could see what's wrong. Otherwise try capturing some traffic to some public API for example here: https://httpbin.org/ and then check extracting the api endpoints or upload the flow file. |
Thanks for your reply. The protocol is correct, and I've already tried to use both (just in case). I'll upload here |
Hi, I'm using the mitmproxy2swagger 0.13.0 and mitmproxy 10.4.1, with Python 3.12.4. I'm currently excperience the following scenario:
pb.flow
file (tested with either mitmproxy, mitmweb and mitmdump)mitmproxy2swagger -i pb.flow -o pb.out -p https://<domain> -f flow --examples --headers
, where I'm sure that requests to are in the flow fileEven if I delete the
- ignore:/
and re-run the command, nothing change. If, in the first run, I set-p ""
(as suggested in #29), in the output file there is a list of all domains from the flow file, but subsequently run of the same command, after remove the ignore for the domain of interest, produce the same output.I've tried a lot of combinations (quote or not quote the api-prefix, save the flow with all mitmproxy suite, and so on). There is something I'm doing wrong? Thank you.
The text was updated successfully, but these errors were encountered: