-
Notifications
You must be signed in to change notification settings - Fork 437
/
pyproject.toml
149 lines (135 loc) · 3.56 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
[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.10, <4.0"
alembic = "1.9.4"
gevent = "24.2.1"
greenlet = "3.0.3"
Pebble = "4.6.3"
# pymisp = "2.4.144"
cryptography = "43.0.1"
requests = {version = "2.32.2", extras = ["security", "socks"]}
# pyOpenSSL = "24.0.0"
pefile = "*"
tldextract = ">=5.1.2"
oletools = "0.60"
olefile = "0.46"
# mixbox = "1.0.5"
capstone = "4.0.2"
pycryptodomex = ">=3.20.0"
# xmltodict = "0.12.0"
requests-file = "1.5.1"
orjson = "3.9.15"
# maec = "4.1.0.17"
# regex = "2021.7.6"
SFlock2 = {version = "0.3.66", extras = ["shellcode","linux"]}
# volatility3 = "2.0.0"
# XLMMacroDeobfuscator = "0.2.7"
pyzipper = "0.3.6"
# flare-capa = "8.0.1"
Cython = "0.29.24"
# pyre2 = "0.3.6" # Dead for python3.11
Django = "4.2.17"
SQLAlchemy = "1.4.50"
SQLAlchemy-Utils = "0.41.1"
Jinja2 = "^3.1.5"
chardet = "4.0.0"
pygal = "2.4.0"
dpkt = "1.9.6"
dnspython = "2.6.1"
pytz = "2021.1"
maxminddb = "2.5.1"
Pillow = ">=8.2.0"
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"
# qrcode = "7.2"
python-tlsh = "4.5.0"
djangorestframework = "3.15.2"
yara-python = "4.5.1"
netstruct = "1.1.2"
pymongo = ">=4.0.1"
# ImageHash = "4.3.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/CAPESandbox/socks5man.git", rev = "7b335d027297b67abdf28f38cc7d5d42c9d810b5"}
# httpreplay = {git = "https://github.com/CAPESandbox/httpreplay.git", rev = "0d5a5b3144ab15f93189b83ca8188afde43db134"}
# bingraph = {git = "https://github.com/CAPESandbox/binGraph.git", rev = "552d1210ac6770f8b202d0d1fc4610cc14d878ec"}
die-python = "0.1.0"
psycopg2-binary = "^2.9.5"
ruff = ">=0.7.2"
paramiko = "3.4.0"
psutil = "5.9.8"
# peepdf-3 = "4.0.0"
Werkzeug = "3.0.6"
packaging = "23.1"
setuptools = "70.0.0"
# command line config manipulation
crudini = "0.9.4"
python-dateutil = "2.8.2"
# guac-session
pyguacamole = "^0.11"
uvicorn = {extras = ["standard"], version = "^0.18.2"}
gunicorn = "^22.0.0"
channels = "^3.0.5"
setproctitle = "1.3.2"
CAPE-parsers = "*"
maco = "1.1.8"
[tool.poetry.extras]
maco = ["maco"]
[tool.poetry.dev-dependencies]
black = "^24.3.0"
isort = "^5.10.1"
pytest = "7.2.2"
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.6.1"
pytest-asyncio = "0.18.3"
pytest-freezer = "0.4.8"
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", "agent"]
norecursedirs = "tests/zip_compound"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[lint]
select = ["E", "F"]
ignore = ["E402","E501"]