mirror of
https://github.com/Pennyw0rth/NetExec.git
synced 2026-11-07 09:26:01 -10:00
Add missing hidden imports to the PyInstaller spec
Protocols and modules ship as data files, so PyInstaller never sees their imports. The binary crashed on smb, wmi, winrm and mssql (impacket.dcerpc.v5.tsts, nxc.helpers.dpapi, dploot.lib.network.*) and failed to load maq, raisechild, firefox, presence, resetnightmare, shadow-creds and mremoteng.
This commit is contained in:
1 parent
70e385a27e
commit
c2d7fdb8a5
1 file changed
+13
@@ -32,10 +32,12 @@ a = Analysis(
|
||||
'impacket.dcerpc.v5.rprn',
|
||||
'impacket.dcerpc.v5.even',
|
||||
'impacket.dcerpc.v5.even6',
|
||||
'impacket.dcerpc.v5.tsts',
|
||||
'impacket.dpapi_ng',
|
||||
'impacket.tds',
|
||||
'impacket.version',
|
||||
'impacket.ldap.ldap',
|
||||
'impacket.krb5.kpasswd',
|
||||
'nxc.connection',
|
||||
'nxc.protocols.smb.wmiexec',
|
||||
'nxc.protocols.smb.atexec',
|
||||
@@ -47,9 +49,12 @@ a = Analysis(
|
||||
'nxc.parsers.ldap_results',
|
||||
'nxc.helpers.bash',
|
||||
'nxc.helpers.bloodhound',
|
||||
'nxc.helpers.dpapi',
|
||||
'nxc.helpers.even6_parser',
|
||||
'nxc.helpers.firefox',
|
||||
'nxc.helpers.msada_guids',
|
||||
'nxc.helpers.negotiate_parser',
|
||||
'nxc.helpers.smb',
|
||||
'paramiko',
|
||||
'pefile',
|
||||
'pypsrp.client',
|
||||
@@ -83,6 +88,14 @@ a = Analysis(
|
||||
'dploot.triage.cng',
|
||||
'dploot.lib.target',
|
||||
'dploot.lib.smb',
|
||||
'dploot.lib.network.mssql',
|
||||
'dploot.lib.network.winrm',
|
||||
'dsinternals.common.cryptography.X509Certificate2',
|
||||
'dsinternals.common.data.DNWithBinary',
|
||||
'dsinternals.common.data.hello.KeyCredential',
|
||||
'dsinternals.system.DateTime',
|
||||
'dsinternals.system.Guid',
|
||||
'lxml.objectify',
|
||||
'pyasn1_modules.rfc5652',
|
||||
'unicrypto.backends.pycryptodomex',
|
||||
'sspilib.raw._text',
|
||||
|
||||
Reference in new issue
Block a user