Ekultek / Ekultek/BlueKeep

pyOpenSSL error version

Open
#48 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
329
PR merge metrics
No merged PRs in 30d

Description

When running the poc with:
` python bluekeep_poc.py`

I get

`AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'. Did you mean: 'X509_V_FLAG_EXPLICIT_POLICY'?`

This is due to mismatch between cryptography newer version and the version you put in requirements of pyOpenSSL
you should replace

`pyopenssl==19.0`

to
`pyopenssl`

This should solve the error

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by opening the requirements file and reproducing the failure with `python bluekeep_poc.py`. Check the pyOpenSSL dependency entry against the reported cryptography mismatch, then rerun the proof of concept; done means the `X509_V_FLAG_NOTIFY_POLICY` AttributeError no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
security
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.