forked from kevoreilly/CAPEv2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
155 lines (145 loc) · 4.39 KB
/
pyproject.toml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
[tool.poetry]
name = "CAPEv2"
version = "0.1.0"
description = "CAPE: Malware Configuration And Payload Extraction"
authors = ["Kevin O'Reilly <[email protected]>", "doomedraven <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.8"
alembic = "1.9.4"
gevent = "23.9.1" # PYSEC-2023-177
greenlet = "3.0.0"
Pebble = "4.6.3"
# pymisp = "2.4.144"
cryptography = "41.0.4" # https://github.com/advisories/GHSA-v8gr-m533-ghj9
requests = {version = "2.31.0", extras = ["security", "socks"]}
pyOpenSSL = "23.2.0"
pefile = "*"
dnfile="0.13.0"
tldextract = "3.1.0"
oletools = "0.60"
olefile = "0.46"
# mixbox = "1.0.5"
capstone = "4.0.2"
pycryptodomex = "3.19.0"
# xmltodict = "0.12.0"
requests-file = "1.5.1"
orjson = "3.8.5"
# maec = "4.1.0.17"
regex = "2021.7.6"
SFlock2 = {version = "0.3.52", extras = ["shellcode"]}
# volatility3 = "2.0.0"
# XLMMacroDeobfuscator = "0.2.7"
pyzipper = "0.3.5"
Cython = "0.29.24"
# pyre2 = "0.3.6" # Dead for python3.11
Django = "4.1.10"
SQLAlchemy = "1.4.22"
SQLAlchemy-Utils = "0.37.8"
Jinja2 = "^3.1.2"
chardet = "4.0.0"
pygal = "2.4.0"
dpkt = "1.9.6"
dnspython = "2.1.0"
pytz = "2021.1"
maxminddb = "2.2.0"
Pillow = "10.0.1" # PYSEC-2023-175, https://github.com/advisories/GHSA-j7hp-h8jx-5ppr, https://github.com/advisories/GHSA-56pw-mpj4-fxww
python-whois = "0.7.3"
bs4 = "0.0.1"
pydeep2 = "0.5.1"
django-recaptcha = "3.0.0" # https://pypi.org/project/django-recaptcha/
django-crispy-forms = "1.14.0"
django-settings-export = "1.2.1"
django-csp = "3.7"
django-extensions = "3.2.1"
django-ratelimit = "3.0.1"
django-auth-ldap = "^4.3.0"
# qrcode = "7.2"
python-tlsh = "4.5.0"
djangorestframework = "3.14.0"
yara-python = "4.3.1"
netstruct = "1.1.2"
pymongo = ">=4.0.1"
psutil = "5.8.0"
# ImageHash = "4.2.1"
LnkParse3 = "1.2.0"
cachetools = "^5.3.0"
django-allauth = "0.54.0" # https://django-allauth.readthedocs.io/en/latest/configuration.html
# socks5man = {git = "https://github.com/doomedraven/socks5man.git", rev = "7b335d027297b67abdf28f38cc7d5d42c9d810b5"}
# httpreplay = {git = "https://github.com/CAPESandbox/httpreplay.git", rev = "0d5a5b3144ab15f93189b83ca8188afde43db134"}
# bingraph = {git = "https://github.com/CAPESandbox/binGraph.git", rev = "552d1210ac6770f8b202d0d1fc4610cc14d878ec"}
psycopg2-binary = "^2.9.5"
Werkzeug = "2.2.3"
packaging = "23.1"
setuptools = "68.0.0"
# command line config manipulation
crudini = "0.9.4"
python-dateutil = "2.8.2"
libvirt-python = "9.7.0"
unicorn = "2.0.1.post1"
uwsgi = "2.0.22" # https://github.com/advisories/GHSA-vcph-37mh-fqrh
geoip2 = "4.6.0"
certego-saas = "0.7.0"
urllib3 = "1.26.17" # PYSEC-2023-192
# guac-session
pyguacamole = "^0.11"
uvicorn = {extras = ["standard"], version = "^0.18.2"}
gunicorn = "^20.1.0"
channels = "^3.0.5"
setproctitle = "1.3.2"
volatility3 = "^2.4.1"
pyshark = "^0.6"
# tmp dependency to fix vuln
certifi = "2023.07.22"
python-ldap = "^3.4.3"
pip-audit = "2.6.1"
ruff = "^0.0.292"
wheel = "^0.41.2"
malduck = "^4.3.2"
mwcp = "^3.13.0"
peepdf = {url = "https://github.com/CAPESandbox/peepdf/archive/20eda78d7d77fc5b3b652ffc2d8a5b0af796e3dd.zip#egg=peepdf==0.4.2"}
batch-deobfuscator = {url = "https://github.com/DissectMalware/batch_deobfuscator/archive/f08059955fd69864c1dc9648935f807d4403b1f2.zip"}
httpreplay = {url = "https://github.com/CAPESandbox/httpreplay/archive/60d4f47b52811788894904d3d919f57dcbe6b80d.zip"}
pyre2 = {url = "https://github.com/andreasvc/pyre2/archive/76cdec765244a8ff24f2e3088af1d3b0b6faba22.zip"}
enum34 = "^1.1.10"
[tool.poetry.dev-dependencies]
black = "^22.3.0"
isort = "^5.10.1"
pytest = "7.2.0"
pytest-pretty = "1.1.0"
pytest-cov = "3.0.0"
pytest-mock = "3.7.0"
pytest-django = "4.5.2"
pytest_asyncio = "0.18.3"
pytest-xdist = "3.0.2"
pytest-asyncio = "0.18.3"
tenacity = "8.1.0"
httpretty = "^1.1.4"
func-timeout = "^4.3.5"
pre-commit = "^2.19.0"
[tool.ruff]
select = ["E", "F"]
ignore = ["E402","E501"]
exclude = [
"./analyzer/linux/dbus_next",
]
[tool.black]
line-length = 132
include = "\\.py(_disabled)?$"
[tool.isort]
profile = "black"
no_lines_before = ["FUTURE", "STDLIB"]
line_length = 132
supported_extensions = ["py", "py_disabled"]
[tool.flake8]
max-line-length = 132
exclude = ".git,__pycache__,.cache,.venv"
[tool.pytest.ini_options]
django_find_project = false
DJANGO_SETTINGS_MODULE = "web.settings"
pythonpath = [".", "web"]
testpaths = "tests"
norecursedirs = "tests/zip_compound"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"