class Mdm::Task
A task run by Metasploit Pro.
Private Instance Methods
delete_file()
click to toggle source
Deletes {#path log} on-disk, so that disk is cleaned up when this task is deleted from the database.
@return [void]
# File app/models/mdm/task.rb, line 154 def delete_file c = Pro::Client.get rescue nil if c c.task_delete_log(self[:id]) if c else ::File.unlink(self.path) rescue nil end end