Skip to content
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

Intercept https request/response #31

Closed
chiptus opened this issue Dec 28, 2017 · 4 comments
Closed

Intercept https request/response #31

chiptus opened this issue Dec 28, 2017 · 4 comments

Comments

@chiptus
Copy link

chiptus commented Dec 28, 2017

Wireshark and other similar services allow decrypting of https responses by installing a certificate on the browser. Is there a way to do it with SharpPCap?

@chiptus chiptus changed the title Intercept http request/response Intercept https request/response Dec 28, 2017
@chmorgan
Copy link
Collaborator

That would be a cool feature. I have some http following code that I've been meaning to dual license so I can release it under gpl for non commercial use but have been hard at work on some other things. This wouldn't get you all the way there, you'd need some way to take apart the ssl communication. No idea how Wireshark does that....

@chiptus
Copy link
Author

chiptus commented Jan 8, 2018

I'm using burp and mitmproxy, and they let you install a certificate on the browser and then uses it to decrpyt the responses.

What I think you should have is let the user self generate his own certificate, and add it as a configuration option to your service. Sounds possible?

@chmorgan
Copy link
Collaborator

chmorgan commented Jan 9, 2018

That's a good question. I'm sure its possible given that others do it and the source is available.

@chmorgan
Copy link
Collaborator

chmorgan commented Mar 7, 2019

Closing this out. It would be great to have this kind of stuff rolled into sharppcap or a compatible library. I'm working to push out some enhanced functionality for PacketDotNet that might help open the door for others to build upon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants