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

Add support for Enhanced Security Direct Connection #212

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alxbl
Copy link
Collaborator

@alxbl alxbl commented Apr 15, 2020

This is a DRAFT pull request that modifies PyRDP to support the direct connection approach outlined in 1.3.1.2 Security-Enhanced Connection Sequence.

I think it still needs some work because it relies on private Twisted APIs (Unavoidable?) and propagates the MITM config into non-MITM modules, which feels unclean.

I would like to also refactor the MITM Config to split the MITM specific settings and the Core settings. This could also plug into the .ini configuration files while we're playing in that code area.

I'm opening the PR now in case someone has time (and wants) to work on it.

@Res260 Res260 changed the title Add support for Ehanced Security Direct Connection Add support for Enhanced Security Direct Connection Apr 15, 2020
@@ -46,7 +45,7 @@ class TwistedTCPLayer(IntermediateLayer, Protocol):
TCP observers are notified when a connection is made.
"""

def __init__(self, config: MITMConfig):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure you can just put quotes around the class name to avoid importing it.

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

Successfully merging this pull request may close these issues.

None yet

3 participants