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.
This commit is contained in:
parent
a4a9e1170a
commit
a40d064009
|
|
@ -1,5 +1,5 @@
|
|||
# ©AngelaMos | 2026
|
||||
# credential-enumeration.nimble
|
||||
# credenum.nimble
|
||||
|
||||
version = "0.1.0"
|
||||
author = "AngelaMos"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue