From a40d0640091e29f9274dd58f2672a338b03b8aa3 Mon Sep 17 00:00:00 2001 From: CarterPerez-dev Date: Wed, 29 Apr 2026 01:23:40 -0400 Subject: [PATCH] fix(credential-enumeration): rename .nimble to credenum.nimble Nim package names cannot contain hyphens, so `nimble install -y nph` in the lint workflow aborted on `validatePackageName` before nph could be installed, causing the Nim lint job to fail with `nph: command not found`. Renaming the manifest to match the binary name resolves it and lets contributors run nimble inside the project. --- PROJECTS/intermediate/credential-enumeration/credenum.nimble | 2 +- PROJECTS/intermediate/credential-enumeration/install.sh | 2 +- .../intermediate/credential-enumeration/learn/00-OVERVIEW.md | 2 +- .../intermediate/credential-enumeration/tests/docker/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PROJECTS/intermediate/credential-enumeration/credenum.nimble b/PROJECTS/intermediate/credential-enumeration/credenum.nimble index 1decace5..fde995a3 100644 --- a/PROJECTS/intermediate/credential-enumeration/credenum.nimble +++ b/PROJECTS/intermediate/credential-enumeration/credenum.nimble @@ -1,5 +1,5 @@ # ©AngelaMos | 2026 -# credential-enumeration.nimble +# credenum.nimble version = "0.1.0" author = "AngelaMos" diff --git a/PROJECTS/intermediate/credential-enumeration/install.sh b/PROJECTS/intermediate/credential-enumeration/install.sh index 10c3c8b2..47c3b431 100755 --- a/PROJECTS/intermediate/credential-enumeration/install.sh +++ b/PROJECTS/intermediate/credential-enumeration/install.sh @@ -83,7 +83,7 @@ header "Building from source" SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" SRC_DIR="$SCRIPT_DIR" -if [[ ! -f "$SRC_DIR/credential-enumeration.nimble" ]]; then +if [[ ! -f "$SRC_DIR/credenum.nimble" ]]; then fail "Run install.sh from the project root directory." fi diff --git a/PROJECTS/intermediate/credential-enumeration/learn/00-OVERVIEW.md b/PROJECTS/intermediate/credential-enumeration/learn/00-OVERVIEW.md index ec546028..50e41883 100644 --- a/PROJECTS/intermediate/credential-enumeration/learn/00-OVERVIEW.md +++ b/PROJECTS/intermediate/credential-enumeration/learn/00-OVERVIEW.md @@ -122,7 +122,7 @@ credential-enumeration/ │ ├── validate.sh # Integration test: runs scanner, checks all 7 categories │ └── planted/ # Credential fixtures (SSH keys, AWS creds, tokens, etc) ├── config.nims # Nim compiler switches (ORC, musl, zigcc, cross-compile) -├── credential-enumeration.nimble # Package manifest +├── credenum.nimble # Package manifest ├── Justfile # Build, test, release, format commands └── install.sh # One-step install: compile + PATH setup ``` diff --git a/PROJECTS/intermediate/credential-enumeration/tests/docker/Dockerfile b/PROJECTS/intermediate/credential-enumeration/tests/docker/Dockerfile index 74cf1690..05dccef5 100644 --- a/PROJECTS/intermediate/credential-enumeration/tests/docker/Dockerfile +++ b/PROJECTS/intermediate/credential-enumeration/tests/docker/Dockerfile @@ -6,7 +6,7 @@ FROM nimlang/nim:2.2.0-alpine AS builder WORKDIR /build COPY src/ src/ COPY config.nims . -COPY credential-enumeration.nimble . +COPY credenum.nimble . RUN nim c -d:release --opt:size --passL:-static -o:/build/credenum src/harvester.nim && \ strip -s /build/credenum