Remove remote data service find_or_create method

GSoC/Meterpreter_Web_Console
Matthew Kienow 2018-05-14 17:20:58 -04:00
parent 02566071be
commit 09a7396ad5
No known key found for this signature in database
GPG Key ID: 40787F8B1EAC6E41
2 changed files with 0 additions and 8 deletions

View File

@ -19,10 +19,6 @@ module RemoteHostDataService
json_to_mdm_object(self.post_data(HOST_API_PATH, opts), HOST_MDM_CLASS, []).first
end
def find_or_create_host(opts)
json_to_mdm_object(self.post_data(HOST_API_PATH, opts), HOST_MDM_CLASS, []).first
end
def report_hosts(hosts)
self.post_data(HOST_API_PATH, hosts)
end

View File

@ -23,10 +23,6 @@ module RemoteLootDataService
self.post_data_async(LOOT_API_PATH, opts)
end
def find_or_create_loot(opts)
json_to_mdm_object(self.post_data(LOOT_API_PATH, opts), LOOT_MDM_CLASS, [])
end
def report_loots(loot)
self.post_data(LOOT_API_PATH, loot)
end