fortra / fortra/impacket

rdp_check OpenSSL.SSL.WantReadError

Open
#1,007 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
16.1k
Forks
4k
Avg merge
11d 12h
Merged PRs (30d)
7

Description

### Configuration
impacket version: latest
Python version: 3.8.5
Target OS: Windows 2018
### Debug Output With Command String
Traceback (most recent call last):
File "/home/py/pwd-cracknode/pwd-cracker/src/test/rdp.py", line 578, in
check_rdp("147.230.11.51", 3389, "admin", "admin", "", hashes=None)
File "/home//py/pwd-cracknode/pwd-cracker/src/test/rdp.py", line 408, in check_rdp
tls.do_handshake()
File "/usr/local/lib/python3.8/dist-packages/OpenSSL/SSL.py", line 1934, in do_handshake
self._raise_ssl_error(self._ssl, result)
File "/usr/local/lib/python3.8/dist-packages/OpenSSL/SSL.py", line 1646, in _raise_ssl_error
raise WantReadError()
OpenSSL.SSL.WantReadError

### PCAP
If applicable, add a packet capture to help explain your problem.

### Additional context
Space for additional context, investigative results, suspected issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported check_rdp function in /home/py/pwd-cracknode/pwd-cracker/src/test/rdp.py, especially line 408 where tls.do_handshake() raises OpenSSL.SSL.WantReadError. Reproduce the failure with the stated Python, target OS, and impacket versions, then determine whether the handshake failure is actionable in the reported code path; the issue is done when the cause and expected handling are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.