* some logs and un-commenting for testing.

This commit is contained in:
maor.rayzin 2018-07-24 20:49:57 +03:00
parent 48e1d85eb0
commit af3b5665ce
1 changed files with 5 additions and 3 deletions

View File

@ -139,16 +139,18 @@ class WindowsInfoCollector(InfoCollector):
self.get_hostname() self.get_hostname()
self.get_process_list() self.get_process_list()
self.get_network_info() self.get_network_info()
#self.get_azure_info() self.get_azure_info()
#self.get_wmi_info() self.get_wmi_info()
LOG.debug('finished get_wmi_info')
#self.get_reg_key(r"SYSTEM\CurrentControlSet\Control\Lsa") #self.get_reg_key(r"SYSTEM\CurrentControlSet\Control\Lsa")
self.get_installed_packages() self.get_installed_packages()
mimikatz_collector = MimikatzCollector() mimikatz_collector = MimikatzCollector()
mimikatz_info = mimikatz_collector.get_logon_info() mimikatz_info = mimikatz_collector.get_logon_info()
if mimikatz_info: if mimikatz_info:
self.info["credentials"].update(mimikatz_info) if "credentials" in self.info:
self.info["credentials"].update(mimikatz_info)
self.info["mimikatz"] = mimikatz_collector.get_mimikatz_text() self.info["mimikatz"] = mimikatz_collector.get_mimikatz_text()
return self.info return self.info