lazyhound 0.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lazyhound-0.0.1/.github/workflows/workflow.yml +27 -0
- lazyhound-0.0.1/.gitignore +25 -0
- lazyhound-0.0.1/LICENSE +21 -0
- lazyhound-0.0.1/PKG-INFO +96 -0
- lazyhound-0.0.1/README.md +54 -0
- lazyhound-0.0.1/pyproject.toml +34 -0
- lazyhound-0.0.1/src/lazyhound/__init__.py +39 -0
- lazyhound-0.0.1/src/lazyhound/__main__.py +6 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
publish:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
environment: pypi
|
|
12
|
+
permissions:
|
|
13
|
+
id-token: write # required for PyPI Trusted Publishing (OIDC)
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
|
|
17
|
+
- uses: actions/setup-python@v5
|
|
18
|
+
with:
|
|
19
|
+
python-version: "3.12"
|
|
20
|
+
|
|
21
|
+
- name: Build distributions
|
|
22
|
+
run: |
|
|
23
|
+
python -m pip install --upgrade build
|
|
24
|
+
python -m build
|
|
25
|
+
|
|
26
|
+
- name: Publish to PyPI
|
|
27
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*.egg-info/
|
|
5
|
+
.eggs/
|
|
6
|
+
build/
|
|
7
|
+
dist/
|
|
8
|
+
wheels/
|
|
9
|
+
|
|
10
|
+
# Virtual environments
|
|
11
|
+
.venv/
|
|
12
|
+
venv/
|
|
13
|
+
env/
|
|
14
|
+
|
|
15
|
+
# Tooling / caches
|
|
16
|
+
.pytest_cache/
|
|
17
|
+
.mypy_cache/
|
|
18
|
+
.ruff_cache/
|
|
19
|
+
.tox/
|
|
20
|
+
|
|
21
|
+
# OS / editor
|
|
22
|
+
.DS_Store
|
|
23
|
+
*.swp
|
|
24
|
+
.idea/
|
|
25
|
+
.vscode/
|
lazyhound-0.0.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 renmizo
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
lazyhound-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: lazyhound
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Terminal-native Active Directory attack path analysis. No Neo4j, no server.
|
|
5
|
+
Project-URL: Homepage, https://github.com/renmizo/lazyhound
|
|
6
|
+
Project-URL: Repository, https://github.com/renmizo/lazyhound
|
|
7
|
+
Project-URL: Issues, https://github.com/renmizo/lazyhound/issues
|
|
8
|
+
Author-email: renmizo <renmizo@gmail.com>
|
|
9
|
+
License: MIT License
|
|
10
|
+
|
|
11
|
+
Copyright (c) 2026 renmizo
|
|
12
|
+
|
|
13
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
14
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
15
|
+
in the Software without restriction, including without limitation the rights
|
|
16
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
17
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
18
|
+
furnished to do so, subject to the following conditions:
|
|
19
|
+
|
|
20
|
+
The above copyright notice and this permission notice shall be included in all
|
|
21
|
+
copies or substantial portions of the Software.
|
|
22
|
+
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
24
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
25
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
26
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
27
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
28
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
29
|
+
SOFTWARE.
|
|
30
|
+
License-File: LICENSE
|
|
31
|
+
Keywords: active-directory,attack-paths,bloodhound,pentest,security
|
|
32
|
+
Classifier: Development Status :: 1 - Planning
|
|
33
|
+
Classifier: Environment :: Console
|
|
34
|
+
Classifier: Intended Audience :: Information Technology
|
|
35
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
36
|
+
Classifier: Operating System :: OS Independent
|
|
37
|
+
Classifier: Programming Language :: Python :: 3
|
|
38
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
39
|
+
Classifier: Topic :: Security
|
|
40
|
+
Requires-Python: >=3.9
|
|
41
|
+
Description-Content-Type: text/markdown
|
|
42
|
+
|
|
43
|
+
# lazyhound
|
|
44
|
+
|
|
45
|
+
Terminal-native Active Directory attack path analysis. No Neo4j, no server.
|
|
46
|
+
|
|
47
|
+
> **Status:** early development (`0.0.1`). This is a working package skeleton — the
|
|
48
|
+
> analysis engine is being built. The CLI installs and runs today so the tooling,
|
|
49
|
+
> packaging, and release pipeline are proven end to end.
|
|
50
|
+
|
|
51
|
+
## Install
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
pip install lazyhound
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Usage
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
lazyhound --version
|
|
61
|
+
lazyhound info
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
You can also run it as a module:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
python -m lazyhound
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## What it will do
|
|
71
|
+
|
|
72
|
+
`lazyhound` aims to bring BloodHound-style attack path analysis to the terminal:
|
|
73
|
+
|
|
74
|
+
- Ingest collector output (e.g. SharpHound / BloodHound JSON)
|
|
75
|
+
- Compute privilege escalation and lateral movement paths
|
|
76
|
+
- Query and report — all from the command line, with no database server to stand up
|
|
77
|
+
|
|
78
|
+
## Development
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
git clone https://github.com/renmizo/lazyhound
|
|
82
|
+
cd lazyhound
|
|
83
|
+
python -m venv .venv && source .venv/bin/activate
|
|
84
|
+
pip install -e .
|
|
85
|
+
lazyhound --version
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Releasing
|
|
89
|
+
|
|
90
|
+
Releases publish to PyPI via [Trusted Publishing](https://docs.pypi.org/trusted-publishers/)
|
|
91
|
+
(OIDC — no stored tokens). Publishing the workflow at `.github/workflows/workflow.yml`
|
|
92
|
+
runs on a published GitHub Release (or manual dispatch) using the `pypi` environment.
|
|
93
|
+
|
|
94
|
+
## License
|
|
95
|
+
|
|
96
|
+
[MIT](LICENSE)
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# lazyhound
|
|
2
|
+
|
|
3
|
+
Terminal-native Active Directory attack path analysis. No Neo4j, no server.
|
|
4
|
+
|
|
5
|
+
> **Status:** early development (`0.0.1`). This is a working package skeleton — the
|
|
6
|
+
> analysis engine is being built. The CLI installs and runs today so the tooling,
|
|
7
|
+
> packaging, and release pipeline are proven end to end.
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pip install lazyhound
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
lazyhound --version
|
|
19
|
+
lazyhound info
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
You can also run it as a module:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
python -m lazyhound
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## What it will do
|
|
29
|
+
|
|
30
|
+
`lazyhound` aims to bring BloodHound-style attack path analysis to the terminal:
|
|
31
|
+
|
|
32
|
+
- Ingest collector output (e.g. SharpHound / BloodHound JSON)
|
|
33
|
+
- Compute privilege escalation and lateral movement paths
|
|
34
|
+
- Query and report — all from the command line, with no database server to stand up
|
|
35
|
+
|
|
36
|
+
## Development
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
git clone https://github.com/renmizo/lazyhound
|
|
40
|
+
cd lazyhound
|
|
41
|
+
python -m venv .venv && source .venv/bin/activate
|
|
42
|
+
pip install -e .
|
|
43
|
+
lazyhound --version
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Releasing
|
|
47
|
+
|
|
48
|
+
Releases publish to PyPI via [Trusted Publishing](https://docs.pypi.org/trusted-publishers/)
|
|
49
|
+
(OIDC — no stored tokens). Publishing the workflow at `.github/workflows/workflow.yml`
|
|
50
|
+
runs on a published GitHub Release (or manual dispatch) using the `pypi` environment.
|
|
51
|
+
|
|
52
|
+
## License
|
|
53
|
+
|
|
54
|
+
[MIT](LICENSE)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "lazyhound"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "Terminal-native Active Directory attack path analysis. No Neo4j, no server."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.9"
|
|
11
|
+
license = { file = "LICENSE" }
|
|
12
|
+
authors = [{ name = "renmizo", email = "renmizo@gmail.com" }]
|
|
13
|
+
keywords = ["active-directory", "bloodhound", "attack-paths", "pentest", "security"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 1 - Planning",
|
|
16
|
+
"Environment :: Console",
|
|
17
|
+
"Intended Audience :: Information Technology",
|
|
18
|
+
"License :: OSI Approved :: MIT License",
|
|
19
|
+
"Operating System :: OS Independent",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
22
|
+
"Topic :: Security",
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
[project.scripts]
|
|
26
|
+
lazyhound = "lazyhound:main"
|
|
27
|
+
|
|
28
|
+
[project.urls]
|
|
29
|
+
Homepage = "https://github.com/renmizo/lazyhound"
|
|
30
|
+
Repository = "https://github.com/renmizo/lazyhound"
|
|
31
|
+
Issues = "https://github.com/renmizo/lazyhound/issues"
|
|
32
|
+
|
|
33
|
+
[tool.hatch.build.targets.wheel]
|
|
34
|
+
packages = ["src/lazyhound"]
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"""lazyhound — terminal-native Active Directory attack path analysis."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import argparse
|
|
6
|
+
import sys
|
|
7
|
+
|
|
8
|
+
__version__ = "0.0.1"
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def main(argv: list[str] | None = None) -> int:
|
|
12
|
+
parser = argparse.ArgumentParser(
|
|
13
|
+
prog="lazyhound",
|
|
14
|
+
description="Terminal-native Active Directory attack path analysis.",
|
|
15
|
+
)
|
|
16
|
+
parser.add_argument(
|
|
17
|
+
"--version",
|
|
18
|
+
action="version",
|
|
19
|
+
version=f"%(prog)s {__version__}",
|
|
20
|
+
)
|
|
21
|
+
parser.add_argument(
|
|
22
|
+
"command",
|
|
23
|
+
nargs="?",
|
|
24
|
+
default="info",
|
|
25
|
+
choices=["info"],
|
|
26
|
+
help="subcommand to run (default: info)",
|
|
27
|
+
)
|
|
28
|
+
args = parser.parse_args(argv)
|
|
29
|
+
|
|
30
|
+
if args.command == "info":
|
|
31
|
+
print(f"lazyhound {__version__} — in development")
|
|
32
|
+
return 0
|
|
33
|
+
|
|
34
|
+
parser.print_help()
|
|
35
|
+
return 1
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == "__main__":
|
|
39
|
+
sys.exit(main())
|