Method: Rex::Post::Meterpreter::Extensions::Stdapi::UI#unlock_desktop
- Defined in:
- lib/rex/post/meterpreter/extensions/stdapi/ui.rb
#unlock_desktop(unlock = true) ⇒ Object
Unlock or lock the desktop
188 189 190 191 192 193 |
# File 'lib/rex/post/meterpreter/extensions/stdapi/ui.rb', line 188 def unlock_desktop(unlock=true) request = Packet.create_request('stdapi_ui_unlock_desktop') request.add_tlv(TLV_TYPE_BOOL, unlock) response = client.send_request(request) return true end |