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
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
The text was updated successfully, but these errors were encountered:
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.
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
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
The text was updated successfully, but these errors were encountered: