Skip to content

Error after "sending security exchange" #6

Description

@securitaydude

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions