From 7b8d4cd578bb8d5237276e29e71f878ade514b8f Mon Sep 17 00:00:00 2001 From: "c0co.channel" Date: Fri, 9 Jan 2026 17:42:55 +0000 Subject: Add some new pwn services configs --- pwn/packages/python-bloodhound.scm | 32 ++++++++++++++++++++++++++++++++ pwn/services.scm | 31 +++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 pwn/packages/python-bloodhound.scm create mode 100644 pwn/services.scm (limited to 'pwn') diff --git a/pwn/packages/python-bloodhound.scm b/pwn/packages/python-bloodhound.scm new file mode 100644 index 0000000..c786771 --- /dev/null +++ b/pwn/packages/python-bloodhound.scm @@ -0,0 +1,32 @@ +(define-module (pwn packages python-bloodhound) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix gexp) + #:use-module (guix build-system python) + #:use-module (gnu packages python-crypto) + #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages python-build) + #:use-module (pwn packages impacket) + #:use-module (guix licenses)) + +(define-public python-bloodhound + (package + (name "Bloodhound.py") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/dirkjanm/BloodHound.py/archive/refs/tags/v" version ".tar.gz")) + (sha256 + (base32 + "0d3744zbkgilb1zv83kcqsyzb5wraphvbjpn7wc8hkj717mg1vcg")))) + (build-system python-build-system) + (arguments + (list #:tests? #f)) + (native-inputs (list python-wheel python-future)) + (propagated-inputs (list impacket python-dnspython python-ldap3 python-pyasn1 python-pycryptodome)) + (synopsis "Python based ingestor for BloodHound, based on Impacket.") + (description "Bloodhound is an Attack Path Management solution that continuously maps and quantifies Active Directory attack paths. It helps eliminate millions—even billions—of attack paths within your existing architecture, removing the attacker’s easiest, most reliable, and most attractive techniques. Originally written by Dirk-jan Mollema, Edwin van Vliet and Matthijs Gielen from Fox-IT (NCC Group), BloodHound.py is currently maintained by Dirk-jan Mollema from Outsider Security. The implementation and data model is based on the original tool from SpecterOps. ") + (home-page "https://github.com/dirkjanm/BloodHound.py") + (license expat))) +python-bloodhound diff --git a/pwn/services.scm b/pwn/services.scm new file mode 100644 index 0000000..f4f33de --- /dev/null +++ b/pwn/services.scm @@ -0,0 +1,31 @@ +(define-module (pwn services) +#:use-module(gnu) +#:use-module(pwn packages) +#:export (pwn-services) + +;; Define the shepherd actions for the one-shot service to use +(shepherd-action + (name 'nix-service-setup) + (documentation "Initial nix package manager setup") + (procedure #~(lambda '(ln -s "/nix/var/nix/profiles/per-user/$USER/profile" ~/.nix-profile + )))) + +(shepherd-action + (name 'nix-pkgs) + (documentation "Command to install list of Nix packages") + (procedure #~(lambda '( + )))) + +(shepherd-action + (name 'pipx-pkgs) + (documentation "Command to install list of pipx packages") + (procedure #~(lambda '( + )))) + +(services (list + (shepherd-service + (documentation "Install nix packages") + (provision '(nix)) + (requirement '(user-processes)) + (one-shot? #t) + (actions (list nix-pkgs pipx-pkgs )))))) -- cgit v1.2.3