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

Connection reset by peer #4

Closed
0xJs opened this issue Jan 29, 2022 · 0 comments
Closed

Connection reset by peer #4

0xJs opened this issue Jan 29, 2022 · 0 comments

Comments

@0xJs
Copy link

0xJs commented Jan 29, 2022

Hi, I wanted to try this in my lab to exploit RBCD webclient (https://www.bussink.net/rbcd-webclient-attack/). But trying this tool against the dc gives the following error. The DC Is running AD Directory services, DNS and DHCP. DNS is configured on my kali machine.

┌──(user㉿pentest)-[/opt/LdapRelayScan]
└─$ python3 LdapRelayScan.py -dc-ip 10.0.0.3 -u labuser -p 'Password01' -method BOTH                                                                                                                                                                              1 ⨯

~Domain Controllers identifed~
   dc01.lab.local

~Checking DCs for LDAP NTLM relay protections~
   dc01.lab.local
      [+] (LDAP) SERVER SIGNING REQUIREMENTS NOT ENFORCED! 
Traceback (most recent call last):
  File "/opt/LdapRelayScan/LdapRelayScan.py", line 95, in DoesLdapsCompleteHandshake
    ssl_sock.do_handshake()
  File "/usr/lib/python3.9/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/LdapRelayScan/LdapRelayScan.py", line 198, in <module>
    if DoesLdapsCompleteHandshake(dc) == True:
  File "/opt/LdapRelayScan/LdapRelayScan.py", line 106, in DoesLdapsCompleteHandshake
    print("Unexpected error during LDAPS handshake: " + e)
TypeError: can only concatenate str (not "ConnectionResetError") to str
@0xJs 0xJs closed this as completed Jan 29, 2022
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

1 participant