forked from mandiant/flare-fakenet-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fakenet.spec
47 lines (39 loc) · 1.26 KB
/
fakenet.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# -*- mode: python -*-
block_cipher = None
a = Analysis(['fakenet/fakenet.py'],
pathex=['fakenet'],
datas=None,
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
)
a.binaries = a.binaries - TOC([
('sqlite3.dll', None, None),
('tcl85.dll', None, None),
('tk85.dll', None, None),
('_sqlite3', None, None),
('_tkinter', None, None)])
driver_files = [('WinDivert64.dll','windivert/WinDivert64.dll', 'BINARY'), ('WinDivert64.sys','windivert/WinDivert64.sys', 'BINARY'),('WinDivert32.dll','windivert/WinDivert32.dll', 'BINARY'), ('WinDivert32.sys','windivert/WinDivert32.sys', 'BINARY')]
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries + driver_files,
a.zipfiles,
a.datas,
icon='resources/fakenet.ico',
name='fakenet',
debug=False,
strip=False,
upx=True,
console=True,
uac_admin=True)
coll = COLLECT(exe,
strip=False,
upx=True,
name='fakenet-dat'
)