-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' of github.com:ipa-lab/hackingBuddyGPT into…
… log_infrastructure
- Loading branch information
Showing
97 changed files
with
1,244 additions
and
827 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"onCreateCommand": "./codespaces_create_and_start_containers.sh" | ||
"onCreateCommand": "./scripts/codespaces_create_and_start_containers.sh" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# how to publish to pypi | ||
|
||
## start with testing if the project builds and tag the version | ||
|
||
```bash | ||
python -m venv venv | ||
source venv/bin/activate | ||
pip install -e . | ||
pytest | ||
git tag v0.3.0 | ||
git push origin v0.3.0 | ||
``` | ||
|
||
## build and new package | ||
|
||
(according to https://packaging.python.org/en/latest/tutorials/packaging-projects/) | ||
|
||
```bash | ||
pip install build twine | ||
python3 -m build | ||
vi ~/.pypirc | ||
twine check dist/* | ||
``` | ||
|
||
Now, for next time.. test install the package in a new vanilla environment, then.. | ||
|
||
```bash | ||
twine upload dist/* | ||
``` | ||
|
||
## repo todos | ||
|
||
- rebase development upon main | ||
- bump the pyproject version number to a new `-dev` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,22 +4,26 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "hackingBuddyGPT" | ||
authors = [{ name = "Andreas Happe", email = "[email protected]" }] | ||
# original author was Andreas Happe, for an up-to-date list see | ||
# https://github.com/ipa-lab/hackingBuddyGPT/graphs/contributors | ||
authors = [ | ||
{ name = "HackingBuddyGPT maintainers", email = "[email protected]" } | ||
] | ||
maintainers = [ | ||
{ name = "Andreas Happe", email = "[email protected]" }, | ||
{ name = "Juergen Cito", email = "juergen.cito@tuwiena.c.at" }, | ||
{ name = "Andreas Happe", email = "[email protected]" }, | ||
{ name = "Juergen Cito", email = "juergen.cito@tuwien.ac.at" } | ||
] | ||
description = "Helping Ethical Hackers use LLMs in 50 lines of code" | ||
readme = "README.md" | ||
keywords = ["hacking", "pen-testing", "LLM", "AI", "agent"] | ||
requires-python = ">=3.10" | ||
version = "0.3.1" | ||
version = "0.4.0-dev" | ||
license = { file = "LICENSE" } | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Development Status :: 4 - Beta", | ||
"Development Status :: 4 - Beta", | ||
] | ||
dependencies = [ | ||
'fabric == 3.2.2', | ||
|
@@ -61,8 +65,18 @@ pythonpath = "src" | |
addopts = ["--import-mode=importlib"] | ||
[project.optional-dependencies] | ||
testing = ['pytest', 'pytest-mock'] | ||
dev = [ | ||
'ruff', | ||
] | ||
|
||
[project.scripts] | ||
wintermute = "hackingBuddyGPT.cli.wintermute:main" | ||
hackingBuddyGPT = "hackingBuddyGPT.cli.wintermute:main" | ||
wintermuteViewer = "hackingBuddyGPT.cli.viewer:main" | ||
|
||
[tool.ruff] | ||
line-length = 120 | ||
|
||
[tool.ruff.lint] | ||
select = ["E", "F", "B", "I"] | ||
ignore = ["E501", "F401", "F403"] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
from .capability import Capability | ||
from .psexec_test_credential import PSExecTestCredential | ||
from .psexec_run_command import PSExecRunCommand | ||
from .psexec_test_credential import PSExecTestCredential | ||
from .ssh_run_command import SSHRunCommand | ||
from .ssh_test_credential import SSHTestCredential | ||
from .ssh_test_credential import SSHTestCredential | ||
|
||
__all__ = [ | ||
"Capability", | ||
"PSExecRunCommand", | ||
"PSExecTestCredential", | ||
"SSHRunCommand", | ||
"SSHTestCredential", | ||
] |
Oops, something went wrong.