Skip to content

Commit 0ddd746

Browse files
authored
Merge pull request #64 from ipa-lab/restructure
Restructure
2 parents 569a9f4 + afb8f43 commit 0ddd746

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+196
-170
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ __pycache__/
77
*.sqlite3
88
*.sqlite3-jounal
99
*.sqlite
10+
src/hackingBuddyGPT.egg-info/
11+
build/
12+
dist/

pyproject.toml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
[build-system]
2+
requires = ["setuptools>=68"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "hackingBuddyGPT"
7+
authors = [
8+
{ name = "Andreas Happe", email = "[email protected]" }
9+
]
10+
maintainers = [
11+
{ name = "Andreas Happe", email = "[email protected]" },
12+
{ name = "Juergen Cito", email = "[email protected]" }
13+
]
14+
description = "Helping Ethical Hackers use LLMs in 50 lines of code"
15+
readme = "README.md"
16+
keywords = ["hacking", "pen-testing", "LLM", "AI", "agent"]
17+
requires-python = ">=3.8"
18+
version = "0.3.0"
19+
license = { file = "LICENSE" }
20+
classifiers = [
21+
"Programming Language :: Python :: 3",
22+
"License :: OSI Approved :: MIT License",
23+
"Operating System :: OS Independent",
24+
"Development Status :: 4 - Beta",
25+
]
26+
dependencies = [
27+
'fabric == 3.2.2',
28+
'Mako == 1.3.2',
29+
'requests == 2.32.0',
30+
'rich == 13.7.1',
31+
'tiktoken == 0.6.0',
32+
'instructor == 1.2.2',
33+
'PyYAML == 6.0.1',
34+
'python-dotenv == 1.0.1',
35+
'pypsexec == 0.3.0'
36+
]
37+
38+
[project.urls]
39+
Homepage = "https://www.hackingbuddy.ai"
40+
Documentation = "https://docs.hackingbuddy.ai"
41+
Repository = "https://github.com/ipa-lab/hackingBuddyGPT"
42+
"Bug Tracker" = "https://github.com/ipa-lab/hackingBuddyGPT/issues"
43+
44+
[tool.setuptools.packages.find]
45+
where = ["src"]
46+
47+
[tool.setuptools.package-data]
48+
"hackingBuddyGPT.usecases.privesc.templates" = ["*.txt"]
49+
"hackingBuddyGPT.usecases.minimal" = ["*.txt"]
50+
51+
[tool.pytest.ini_options]
52+
pythonpath = "src"
53+
addopts = [
54+
"--import-mode=importlib",
55+
]
56+
57+
[project.scripts]
58+
wintermute = "hackingBuddyGPT.cli.wintermute:main"

requirements.txt

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/hackingBuddyGPT/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.

capabilities/http_request.py renamed to src/hackingBuddyGPT/capabilities/http_request.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import base64
22
from dataclasses import dataclass
3-
from typing import Literal, Optional, Dict
4-
53
import requests
4+
from typing import Literal, Optional, Dict
65

7-
from capabilities import Capability
8-
6+
from . import Capability
97

108
@dataclass
119
class HTTPRequest(Capability):

capabilities/psexec_run_command.py renamed to src/hackingBuddyGPT/capabilities/psexec_run_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from dataclasses import dataclass
22
from typing import Tuple
33

4-
from utils import PSExecConnection
4+
from hackingBuddyGPT.utils import PSExecConnection
55
from .capability import Capability
66

77

capabilities/psexec_test_credential.py renamed to src/hackingBuddyGPT/capabilities/psexec_test_credential.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from dataclasses import dataclass
33
from typing import Tuple
44

5-
from utils import PSExecConnection
5+
from hackingBuddyGPT.utils import PSExecConnection
66
from .capability import Capability
77

88

capabilities/record_note.py renamed to src/hackingBuddyGPT/capabilities/record_note.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from dataclasses import dataclass, field
22
from typing import Tuple, List
33

4-
from capabilities import Capability
4+
from . import Capability
55

66

77
@dataclass

0 commit comments

Comments
 (0)