forked from kevoreilly/CAPEv2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
141 lines (129 loc) · 3.44 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
[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"
alembic = "1.9.4"
gevent = "24.2.1"
greenlet = "3.0.3"
Pebble = "4.6.3"
# pymisp = "2.4.144"
cryptography = "42.0.4"
requests = {version = "2.32.2", extras = ["security", "socks"]}
pyOpenSSL = "24.0.0"
pefile = "*"
tldextract = "3.5.0"
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.62", extras = ["shellcode"]}
# volatility3 = "2.0.0"
# XLMMacroDeobfuscator = "0.2.7"
pyzipper = "0.3.5"
flare-capa = "7.1.0"
Cython = "0.29.24"
# pyre2 = "0.3.6" # Dead for python3.11
Django = "4.2.15"
SQLAlchemy = "1.4.50"
SQLAlchemy-Utils = "0.41.1"
Jinja2 = "^3.1.4"
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.0"
netstruct = "1.1.2"
pymongo = ">=4.0.1"
psutil = "5.8.0"
# 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.0.290"
paramiko = "3.4.0"
Werkzeug = "3.0.3"
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"
# tmp dependency to fix vuln
certifi = "2024.7.4"
[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"