Merge pull request #223 from guardicore/feature/add_config_to_pth
Actually use mimikatz configuration variable
This commit is contained in:
commit
24eed6d069
|
@ -16,6 +16,7 @@
|
|||
"alive": true,
|
||||
"collect_system_info": true,
|
||||
"extract_azure_creds": true,
|
||||
"should_use_mimikatz": true,
|
||||
"depth": 2,
|
||||
|
||||
"dropper_date_reference_path_windows": "%windir%\\system32\\kernel32.dll",
|
||||
|
|
|
@ -38,7 +38,9 @@ class WindowsInfoCollector(InfoCollector):
|
|||
super(WindowsInfoCollector, self).get_info()
|
||||
self.get_wmi_info()
|
||||
self.get_installed_packages()
|
||||
self.get_mimikatz_info()
|
||||
from infection_monkey.config import WormConfiguration
|
||||
if WormConfiguration.should_use_mimikatz:
|
||||
self.get_mimikatz_info()
|
||||
|
||||
return self.info
|
||||
|
||||
|
|
Loading…
Reference in New Issue