Agent: Add pyinstaller hooks for pypsrp

This commit is contained in:
Mike Salvatore 2021-08-25 14:44:31 -04:00
parent 176828d458
commit 8aedc2c391
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,3 @@
from PyInstaller.utils.hooks import collect_all
datas, binaries, hiddenimports = collect_all("pypsrp")

View File

@ -109,6 +109,7 @@ _.version_string # unused method (monkey/infection_monkey/transport/http.py:148
_.version_string # unused method (monkey/infection_monkey/transport/http.py:27)
_.close_connection # unused attribute (monkey/infection_monkey/transport/http.py:57)
protocol_version # unused variable (monkey/infection_monkey/transport/http.py:24)
binaries # unused variable (monkey/infection_monkey/pyinstaller_hooks/hook-pypsrp.py:3)
hiddenimports # unused variable (monkey/infection_monkey/pyinstaller_hooks/hook-infection_monkey.exploit.py:3)
hiddenimports # unused variable (monkey/infection_monkey/pyinstaller_hooks/hook-infection_monkey.network.py:3)
hiddenimports # unused variable (monkey/infection_monkey/pyinstaller_hooks/hook-infection_monkey.post_breach.actions.py:4)