This repository was archived by the owner on Jan 29, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
171 lines (158 loc) · 4.37 KB
/
Copy pathpyproject.toml
File metadata and controls
171 lines (158 loc) · 4.37 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ciberwebscan"
version = "0.4.15"
description = "Herramienta híbrida para reconocimiento pasivo, análisis de superficie de ataque, extracción estructurada y evaluación de seguridad en aplicaciones web."
readme = "docs/README.md"
license = {file = "LICENSE"}
authors = [
{name = "Andrés Henríquez", email = "henriquezandres856@gmail.com"}
]
maintainers = [
{name = "Andrés Henríquez", email = "henriquezandres856@gmail.com"}
]
keywords = ["reconocimiento pasivo", "superficie de ataque", "fingerprinting", "seguridad web", "web scraping", "extracción estructurada", "cli", "selenium", "beautifulsoup"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Networking :: Monitoring",
"Topic :: Text Processing :: Markup :: HTML",
"Topic :: Utilities",
]
requires-python = ">=3.8"
dependencies = [
"beautifulsoup4==4.13.4",
"Flask==3.1.1",
"Flask-Session==0.8.0",
"pytest==8.3.5",
"pytest-cov==5.0.0",
"pytest-mock==3.14.0",
"pytest-html==4.1.1",
"httpx[http2]==0.27.0",
"selenium==4.33.0",
"lxml==5.3.0",
"vulners==2.2.1",
"pyOpenSSL==24.0.0",
"cryptography==42.0.5",
"python-dotenv==1.1.1",
"setuptools==68.0.0",
"typer==0.17.4",
"typing-extensions",
"wheel",
"rich==13.0.0",
"pyyaml==6.0.2"
]
[project.optional-dependencies]
dev = [
"pytest==8.3.5",
"pytest-cov==5.0.0",
"pytest-mock==3.14.0",
"pytest-html==4.1.1",
"coverage==7.9.1",
"black",
"isort",
"pyright",
"flake8",
"pre-commit",
]
[project.urls]
Homepage = "https://github.com/HC-ONLINE/CiberWebScan"
[project.scripts]
ciberwebscan = "cli.main:main"
[project.gui-scripts]
ciberwebscan-gui = "app:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["cli*", "utils*", "services*", "config*", "static*", "templates*", "structured_schemas*", "examples*"]
exclude = ["test*", "docs*", "examples*", "automation*"]
[tool.setuptools.package-data]
"*" = ["*.json", "*.html", "*.css", "*.js", "*.png", "*.ico", "*.svg", "*.webmanifest"]
[tool.pytest.ini_options]
testpaths = ["test"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"--strict-markers",
"--strict-config",
"--cov=cli",
"--cov=utils",
"--cov=services",
"--cov=config",
"--cov-report=html:htmlcov",
"--cov-report=term-missing",
"--cov-report=xml",
"--html=test/reports/report.html",
"--self-contained-html",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
"unit: marks tests as unit tests",
"security: marks tests as security-related",
]
[tool.coverage.run]
source = ["cli", "utils", "services", "config"]
omit = [
"*/test/*",
"*/tests/*",
"*/__pycache__/*",
"*/venv/*",
"*/env/*",
"*/site-packages/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
known_first_party = ["cli", "utils", "services", "config"]
[tool.pyright]
include = ["cli", "utils", "services", "config", "app.py"]
exclude = ["**/__pycache__", "venv"]
pythonVersion = "3.8"
reportMissingImports = true
reportMissingTypeStubs = true
extraPaths = ["typings"]