Method: Rex::Post::Meterpreter::Extensions::Priv::Fs#blank_directory_mace
- Defined in:
- lib/rex/post/meterpreter/extensions/priv/fs.rb
#blank_directory_mace(dir_path) ⇒ Object
Recursively set the MACE values to the minimum threshold for the supplied directory.
102 103 104 105 106 107 108 109 110 |
# File 'lib/rex/post/meterpreter/extensions/priv/fs.rb', line 102 def blank_directory_mace(dir_path) request = Packet.create_request(COMMAND_ID_PRIV_FS_BLANK_DIRECTORY_MACE) request.add_tlv(TLV_TYPE_FS_FILE_PATH, dir_path) client.send_request(request) true end |