1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-05 14:57:30 +01:00

Land #7276, fix clipboard tlv usage

This commit is contained in:
Brent Cook 2016-09-22 00:47:18 -05:00
commit 52d0840a79
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96

View File

@ -41,7 +41,7 @@ class Clipboard
def set_text(text)
request = Packet.create_request('extapi_clipboard_set_data')
request.add_tlv(TLV_TYPE_EXT_CLIPBOARD_TYPE_TEXT, text)
request.add_tlv(TLV_TYPE_EXT_CLIPBOARD_TYPE_TEXT_CONTENT, text)
response = client.send_request(request)