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

fix connection issue with socks ldap #530

Merged
merged 3 commits into from
Jan 3, 2025
Merged

fix connection issue with socks ldap #530

merged 3 commits into from
Jan 3, 2025

Conversation

mpgn
Copy link
Collaborator

@mpgn mpgn commented Jan 2, 2025

Description

Using proxychains, nxc is failing to make first ldap connection (because it's not auth so we pass via proxychains to 127.0.0.1 but ntlmrelayx doesn't relay the connection since it's unauth) but this pr fix the problem by ignoring the first ldap connection

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Against GOAD lab

Screenshots (if appropriate):

Before
2025-01-02_16-42

After
2025-01-02_16-51

Checklist:

  • I have ran Ruff against my changes (via poetry: poetry run python -m ruff check . --preview, use --fix to automatically fix what it can)
  • I have performed a self-review of my own code

Copy link
Contributor

@NeffIsBack NeffIsBack left a comment

Choose a reason for hiding this comment

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

LGTM

@NeffIsBack NeffIsBack added the bug-fix This Pull Request fixes a bug label Jan 3, 2025
@mpgn mpgn merged commit fb96e78 into main Jan 3, 2025
4 checks passed
@mpgn mpgn deleted the ldap_socks branch January 3, 2025 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix This Pull Request fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants