mirror of
https://github.com/rub-softsec/onelogon
synced 2026-06-27 13:00:05 +00:00
73 lines
2.0 KiB
TOML
73 lines
2.0 KiB
TOML
[project]
|
|
name = "onelogon"
|
|
version = "1.0.0"
|
|
description = ""
|
|
authors = [
|
|
{name = "Alexander Neff", email = "alex99.neff@gmx.de"}
|
|
]
|
|
license = {text = "MIT"}
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"impacket (>=0.13.0)",
|
|
"termcolor (>=3.1.0,<4.0.0)",
|
|
]
|
|
|
|
[project.urls]
|
|
homepage = "https://github.com/NeffIsBack/onelogon"
|
|
repository = "https://github.com/Pennyw0rth/onelogon"
|
|
|
|
[project.scripts]
|
|
onelogon-scanner = "scanner.scanner:main"
|
|
scan = "scanner.scanner:main"
|
|
onelogon = "exploit.onelogon:main"
|
|
ol = "exploit.onelogon:main"
|
|
|
|
[tool.poetry]
|
|
packages = [
|
|
{ include = "scanner" },
|
|
{ include = "exploit" }
|
|
]
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
ruff = "*"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.ruff]
|
|
target-version = "py313"
|
|
exclude = [
|
|
".bzr", ".direnv", ".eggs", ".git", ".git-rewrite", ".hg", ".mypy_cache",
|
|
".nox", ".pants.d", ".pytype", ".ruff_cache", ".svn", ".tox", ".venv",
|
|
"__pypackages__", "_build", "buck-out", "build", "dist", "node_modules", "venv"
|
|
]
|
|
preview = true
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", "F", "D", "UP", "YTT", "ASYNC", "B", "A", "C4", "ISC", "ICN", "PIE", "PT",
|
|
"Q", "RSE", "RET", "SIM", "TID", "ERA", "FLY", "PERF", "LOG", "RUF", "W"
|
|
]
|
|
ignore = [
|
|
"A004", "E501", "F405", "D100", "D101", "D102", "D103", "D104", "D105", "D106",
|
|
"D107", "D203", "D204", "D205", "D212", "D213", "D400", "D401", "D413", "D415",
|
|
"D417", "D419", "FURB", "RET503", "RET505", "RET506", "RET507", "RET508",
|
|
"PERF203", "RUF012", "RUF052", "RUF059"
|
|
]
|
|
|
|
# THE SETTINGS BELOW ARE DEFAULTS, left in here to override potential vs-code settings
|
|
# Allow autofix for all enabled rules (when `--fix`) is provided.
|
|
fixable = ["ALL"]
|
|
unfixable = []
|
|
per-file-ignores = {}
|
|
|
|
# Allow unused variables when underscore-prefixed.
|
|
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
|
|
|
[tool.ruff.lint.flake8-quotes]
|
|
docstring-quotes = "double"
|
|
inline-quotes = "double"
|
|
multiline-quotes = "double"
|