Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
172 lines (149 loc) · 3.22 KB
/
Copy pathpyproject.toml
File metadata and controls
172 lines (149 loc) · 3.22 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
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
[build-system]
requires = ["hatchling>=1.24"]
build-backend = "hatchling.build"
[project]
name = "stackscan"
description = "Full web stack, infrastructure, DNS, port, subdomain and CVE analyzer."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.11"
dynamic = ["version"]
authors = [
{ name = "reekeer team" }
]
maintainers = [
{ name = "delewer" }
]
dependencies = [
"rich>=13.7",
"aiohttp>=3.9",
"dnspython>=2.6",
"python-nmap>=0.7",
"sigdb>=1.0.2"
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
keywords = [
"wappalyzer",
"stack",
"osint",
"fingerprinting",
"tech",
"cli"
]
[project.optional-dependencies]
geo = [
"geoip2>=4.8"
]
dev = [
"ruff>=0.5",
"black>=24.0",
"pyright>=1.1",
"pytest>=8.0",
"twine>=5.0",
"build>=1.0",
"geoip2>=4.8"
]
[project.urls]
Source = "https://github.com/reekeer/stackscan"
Issues = "https://github.com/reekeer/stackscan/issues"
[project.scripts]
stackscan = "stackscan.cli:main"
# Mounts stackscan inside the reekeer shell as /recon/stackscan.
#
# Not `/tools/recon`: a root that holds every plugin distinguishes none of them, so the category is
# the top-level group.
#
# Name, version, description, authors and dependencies are read from [project] above, so nothing is
# repeated here. No arguments are declared on purpose: stackscan's own argparse keeps ownership of all
# of them, including `--help` and the `sigdb` subcommand, and reekeer hands it the raw tokens.
[tool.reekeer]
group = "/recon"
entrypoint = "stackscan.cli:main"
python-root = "src"
aliases = ["ss"]
[tool.hatch.version]
path = "src/stackscan/__init__.py"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/stackscan"]
artifacts = [
"src/stackscan/data/*.sigdb",
"src/stackscan/data/*.json.gz",
"src/stackscan/data/*.txt",
"src/stackscan/data/*.png",
]
[tool.hatch.build.targets.sdist]
include = [
"src/stackscan",
"scripts",
"tests",
"README.md",
"LICENSE",
]
artifacts = [
"src/stackscan/data/*.sigdb",
"src/stackscan/data/*.json.gz",
"src/stackscan/data/*.txt",
"src/stackscan/data/*.png",
]
[tool.black]
line-length = 100
target-version = ["py311"]
include = '\.pyi?$'
exclude = '/(\.git|\.venv|venv|build|dist|__pycache__)/'
[tool.ruff]
line-length = 100
target-version = "py311"
exclude = [
".git",
"__pycache__",
"build",
"dist",
".venv"
]
[tool.ruff.lint]
select = [
"E",
"F",
"I",
"B",
"UP",
"N"
]
ignore = [
"E501"
]
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.pyright]
pythonVersion = "3.11"
typeCheckingMode = "strict"
venvPath = "."
venv = ".venv"
include = ["src"]
exclude = [
"node_modules",
"**/__pycache__",
"build",
"dist",
".*",
".venv",
"src/stackscan/export.py"
]
reportMissingImports = true
reportMissingTypeStubs = false
reportOptionalMemberAccess = true
reportOptionalSubscript = true
reportGeneralTypeIssues = true