-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (93 loc) · 2.69 KB
/
Copy pathpyproject.toml
File metadata and controls
103 lines (93 loc) · 2.69 KB
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
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "alfa-arsenal"
version = "0.1.0"
description = "Wireless Security Assessment Platform for authorized penetration testing and research. Created in Prishtina, Republic of Kosova."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
authors = [
{ name = "Wireless Security Research" },
]
keywords = ["wireless", "security", "assessment", "wifi", "penetration-testing"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Information Technology",
"Topic :: Security",
"Topic :: System :: Networking :: Monitoring",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"scapy>=2.5.0",
"cryptography>=41.0.0",
"pycryptodome>=3.19.0",
"flask>=3.0.0",
"flask-socketio>=5.3.0",
"flask-limiter>=3.5.0",
"PyJWT>=2.8.0",
"bcrypt>=4.1.0",
"gevent>=23.9.0",
"pyOpenSSL>=23.3.0",
"gpsd-py3>=0.3.0",
"simplekml>=1.3.6",
"gpxpy>=1.6.0",
"psutil>=5.9.0",
"netifaces>=0.11.0",
"tabulate>=0.9.0",
"colorama>=0.4.6",
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",
"pydantic>=2.0.0",
"grpcio>=1.80.0",
"grpcio-tools>=1.80.0",
]
[tool.setuptools]
py-modules = ["alfa_arsenal"]
[tool.setuptools.packages.find]
include = [
"api*",
"attacks*",
"c2*",
"core*",
"integrations*",
"modules*",
"orchestrator*",
"tests*",
"tools*",
"utils*",
]
exclude = ["venv*", "wordlists*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-q --cov=core --cov=attacks --cov=tools --cov=orchestrator --cov=modules --cov=utils --cov-report=term-missing --cov-fail-under=20"
markers = [
"hil: hardware-in-the-loop tests that require a real Alfa adapter and root",
"optional_hil: optional HIL smoke test",
]
[tool.ruff]
line-length = 100
target-version = "py310"
extend-exclude = ["venv", "wordlists", "proto"]
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[tool.ruff.lint.per-file-ignores]
# Script prepends sys.path before local imports (intentional bootstrap).
"alfa_arsenal.py" = ["E402", "E501"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
disable_error_code = ["import-untyped"]
exclude = ["venv", "wordlists", "proto"]
[[tool.mypy.overrides]]
module = ["attacks.*", "utils.fingerprint", "proto.*"]
disable_error_code = ["attr-defined"]