add temporary nxc icon, and fix build

main
Marshall Hallenbeck 2023-09-14 17:41:51 -04:00
parent 3a6b2492ee
commit 3556297b1c
3 changed files with 67 additions and 30 deletions

2
build_collector.py Normal file → Executable file
View File

@ -70,7 +70,7 @@ def build_nxc():
def build_nxcdb(): def build_nxcdb():
print("building nxcDB") print("building nxcdb")
env = Environment( env = Environment(
built_at=datetime.utcfromtimestamp(int(time.time())).strftime("%Y-%m-%d %H:%M:%S"), built_at=datetime.utcfromtimestamp(int(time.time())).strftime("%Y-%m-%d %H:%M:%S"),
entry_point="nxc.nxcdb:main", entry_point="nxc.nxcdb:main",

View File

@ -3,32 +3,69 @@
block_cipher = None block_cipher = None
a = Analysis(['./nxc/netexec.py'], a = Analysis(
pathex=['./nxc'], ['./nxc/netexec.py'],
binaries=[], pathex=['./nxc'],
datas=[('./nxc/protocols', 'nxc/protocols'),('./nxc/data', 'nxc/data'),('./nxc/modules', 'nxc/modules')], binaries=[],
hiddenimports=['nxc.protocols.mssql.mssqlexec', 'nxc.connection', 'impacket.examples.secretsdump', 'impacket.dcerpc.v5.lsat', 'impacket.dcerpc.v5.transport', 'impacket.dcerpc.v5.lsad', 'nxc.servers.smb', 'nxc.protocols.smb.wmiexec', 'nxc.protocols.smb.atexec', 'nxc.protocols.smb.smbexec', 'nxc.protocols.smb.mmcexec', 'nxc.protocols.smb.smbspider', 'nxc.protocols.smb.passpol', 'paramiko', 'pypsrp.client', 'pywerview.cli.helpers', 'impacket.tds', 'impacket.version', 'nxc.helpers.bash', 'pylnk3', 'lsassy','win32timezone', 'impacket.tds', 'impacket.ldap.ldap', 'impacket.tds'], datas=[
hookspath=['./nxc/.hooks'], ('./nxc/protocols', 'nxc/protocols'),
runtime_hooks=[], ('./nxc/data', 'nxc/data'),
excludes=[], ('./nxc/modules', 'nxc/modules')
win_no_prefer_redirects=False, ],
win_private_assemblies=False, hiddenimports=[
cipher=block_cipher, 'nxc.protocols.mssql.mssqlexec',
noarchive=False) 'nxc.connection',
pyz = PYZ(a.pure, a.zipped_data, 'impacket.examples.secretsdump',
cipher=block_cipher) 'impacket.dcerpc.v5.lsat',
exe = EXE(pyz, 'impacket.dcerpc.v5.transport',
a.scripts, 'impacket.dcerpc.v5.lsad',
a.binaries, 'nxc.servers.smb',
a.zipfiles, 'nxc.protocols.smb.wmiexec',
a.datas, 'nxc.protocols.smb.atexec',
[], 'nxc.protocols.smb.smbexec',
name='netexec', 'nxc.protocols.smb.mmcexec',
debug=False, 'nxc.protocols.smb.smbspider',
bootloader_ignore_signals=False, 'nxc.protocols.smb.passpol',
strip=False, 'paramiko',
upx=True, 'pypsrp.client',
upx_exclude=[], 'pywerview.cli.helpers',
runtime_tmpdir=None, 'impacket.tds',
console=True, 'impacket.version',
icon='./nxc/data/nxc.ico' ) 'nxc.helpers.bash',
'pylnk3',
'lsassy',
'win32timezone',
'impacket.tds',
'impacket.ldap.ldap',
'impacket.tds'
],
hookspath=['./nxc/.hooks'],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False
)
pyz = PYZ(
a.pure,
a.zipped_data,
cipher=block_cipher
)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='netexec',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
icon='./nxc/data/nxc.ico'
)

BIN
nxc/data/nxc.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB