mitmproxy2swagger
mitmproxy2swagger copied to clipboard
mitmproxy2swagger stuck
Hi, I tried to run this code sudo mitmproxy2swagger -i ~/Downloads/flows -o spec.yml -p http://127.0.0.1:8888 -f flow --examples And this was the output [sudo] password for hapihacker: No existing swagger file found. Creating new one. [ ] 0.0%
The program remains stuck and does not generate any spec.yml file. Any solution?
MITMPROXY VERSION mitmweb --version Mitmproxy: 10.1.5 Python: 3.11.7 OpenSSL: OpenSSL 3.1.4 24 Oct 2023 Platform: Linux-6.5.0-kali3-amd64-x86_64-with-glibc2.37
I have the exact same problem.
Edit: For me this turned out to be the result of a corrupt flows file. Attempt re-recording your results, saving as a new flow file, and then running mitmproxy2swagger again.
Hi,
Did you find any solution?
I had the same issue. I had to navigate to the directory where the flows file was, and used -i ./flows. That fixed the error, but the spec.yml didn't seem to populate with any paths from my import