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:
commit
52d0840a79
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user