forked from p15670423/monkey
Merge pull request #738 from guardicore/fix-import-pywin32
pywin32 is missing from the Monkey
This commit is contained in:
commit
add176f7c6
|
@ -1,4 +1,7 @@
|
|||
import wmi
|
||||
import sys
|
||||
|
||||
if sys.platform.startswith("win"):
|
||||
import wmi
|
||||
|
||||
from .mongo_utils import MongoUtils
|
||||
|
||||
|
|
|
@ -13,8 +13,4 @@ pyftpdlib==1.5.6
|
|||
pymssql<3.0
|
||||
pypykatz==0.3.12
|
||||
requests>=2.24
|
||||
# Locking WMI since version 1.5 introduced breaking change on Linux agent compilation.
|
||||
# See breaking change here: https://github.com/tjguk/wmi/commit/dcf8e3eca79bb8c0101ffb83e25c066b0ba9e16d
|
||||
# Causes pip to error with:
|
||||
# Could not find a version that satisfies the requirement pywin32 (from wmi->-r /src/infection_monkey/requirements.txt (line 12)) (from versions: none)
|
||||
wmi==1.4.9 ; sys_platform == 'win32'
|
||||
wmi==1.5.1 ; sys_platform == 'win32'
|
||||
|
|
Loading…
Reference in New Issue