0xeb-bp / bluekeep

Public work for CVE-2019-0708
GNU General Public License v3.0
289 stars 91 forks source link

Error after "sending security exchange" #6

Open securitaydude opened 5 years ago

securitaydude commented 5 years ago

Can you please provide assistance to address this error: python3 win7_32_poc.py [+] initializing connection [+] sending basic settings exchange [+] sending erect domain and attach user [+] sending channel join requests [+] sending security exchange

Traceback (most recent call last): File "win7_32_poc.py", line 156, in <module>        main() File "win7_32_poc.py", line 40, in main         crypter = rdp.connect(s) File "/root/Documents/scripts/bluekeep_32bit/rdp.py", line 469, in connect        s.sendall(sec_exchange(pub_key, bit_len)) File "/root/Documents/scripts/bluekeep_32bit/rdp.py", line 113, in sec_exchange         enc_client_ran = pubkey.encrypt(b'A'*32, None)[0] File "/usr/local/lib/python3.6/dist-packages/Crypto/PublicKey/RSA.py", line 375, in encrypt        raise NotImplementedError("Use module Crypto.Cipher.PKCS1_OAEP instead") NotImplementedError: Use module Crypto.Cipher.PKCS1_OAEP instead