Live data from Hacker News

Show HN: Mitmproxy2swagger – Automagically reverse-engineer REST APIs

github.com

81–87 of 87 posts

Re: Show HN: Mitmproxy2swagger – Automagically reverse-engineer REST APIs

#81

Earlier quoted context omitted.

See SSLKEYLOGFILE

explain bit more please? Do you mean root is not needed? Isn't that a curl feature?

Various browsers support it to log ssl keys which allows decrypting packet captures without requiring something like mitmproxy.

Re: Show HN: Mitmproxy2swagger – Automagically reverse-engineer REST APIs

#83
post #52

Very nice! On the same note, I wrote a program to generate Python code (requests) from a HAR capture: https://github.com/louisabraham/har2requests I think using HAR captures is simpler for the end user than spawning mitmproxy as they don't require any installation and are extracted from the network tab of the browser devtools. Is there a reason why you didn't use them? EDIT: I realized that mitmproxy can also get tra…

Hey! Just writing to let you know that I've added HAR input support to mitmproxy2swagger.

Re: Show HN: Mitmproxy2swagger – Automagically reverse-engineer REST APIs

#84
post #7

Almost exactly a fit against my idea[1] to generate OpenAPI from HAR files. Going to read through to see if I can add HAR support. [1]: https://github.com/captn3m0/ideas#openapi-specification-gene...

Hey! Just writing to let you know that I've added HAR input support to mitmproxy2swagger.

Re: Show HN: Mitmproxy2swagger – Automagically reverse-engineer REST APIs

#85

I've always wanted to build something similar to this, by reading HAR files captured right out of the devtools. Have you given any thought to that as an alternative input?

Hey! Just writing to let you know that I've added HAR input support to mitmproxy2swagger.

Re: Show HN: Mitmproxy2swagger – Automagically reverse-engineer REST APIs

#86
post #68
post #52

Very nice! On the same note, I wrote a program to generate Python code (requests) from a HAR capture: https://github.com/louisabraham/har2requests I think using HAR captures is simpler for the end user than spawning mitmproxy as they don't require any installation and are extracted from the network tab of the browser devtools. Is there a reason why you didn't use them? EDIT: I realized that mitmproxy can also get tra…

Oh, I used a python script to generate pre-made requests from HAR recently, I'm pretty sure it was your git ! Very useful :)

Thanks!

Re: Show HN: Mitmproxy2swagger – Automagically reverse-engineer REST APIs

#87
post #83
post #52

Very nice! On the same note, I wrote a program to generate Python code (requests) from a HAR capture: https://github.com/louisabraham/har2requests I think using HAR captures is simpler for the end user than spawning mitmproxy as they don't require any installation and are extracted from the network tab of the browser devtools. Is there a reason why you didn't use them? EDIT: I realized that mitmproxy can also get tra…

Hey! Just writing to let you know that I've added HAR input support to mitmproxy2swagger.

Wow that's super cool! Thanks!
Post reply on HN