fix(entries): use apt binary name printerbug (drop stale .py) - #57
Merged
Conversation
Two red entries invoke the tool as `printerbug.py`, the git-clone-era name. Kali ships it via the apt `krbrelayx` package, which installs it as `printerbug` (no `.py`), so the `.py` invocation no longer resolves. Correcting it here (the source of truth) re-stamps the generated `hacktheplanet` block in dotfiles-Kali on the next companion sync, and resolves the drift reported in dotfiles-Kali issues #152 and #153. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0125U2VZpg9dt7729QoctYQ8
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the red-team corpus “source of truth” to call the Kali-installed printerbug executable (from apt krbrelayx) instead of the legacy printerbug.py name, preventing broken command invocations in downstream rendered/vendored views.
Changes:
- Replace
printerbug.pywithprinterbugin two red entries’ command blocks. - Add an
[Unreleased]changelog note documenting the fix and downstream impact.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| entries/red/coerce-petitpotam.md | Updates the coercion example command to invoke printerbug without the stale .py suffix. |
| entries/red/unconstrained-deleg-tgt.md | Updates the unconstrained delegation walkthrough command to use the printerbug binary name. |
| CHANGELOG.md | Documents the fix under [Unreleased] for user visibility and downstream sync context. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two red corpus entries invoke the coercion tool as
printerbug.py— the git-clone-era name. Kali ships it via the aptkrbrelayxpackage, which installs it asprinterbug(no.py), so the.pyinvocation no longer resolves. This corrects the name at the source of truth.Changes
entries/red/coerce-petitpotam.md—printerbug.py→printerbugentries/red/unconstrained-deleg-tgt.md—printerbug.py→printerbugCHANGELOG.md—[Unreleased]noteOnly the command invocations changed; prose mentions of "printerbug" as the technique/spooler-abuse name are untouched.
Why this is the right route
offensive/companion/indotfiles-Kaliis a vendoredgit subtreeof this repo, and the generatedhacktheplanetblock athacktheplanet:358rendersprinterbug.pystraight from theunconstrained-deleg-tgtentry — directly contradicting the hand-authored line athacktheplanet:392which already uses the correctedprinterbugform. The vendored tree and its generated blocks are read-only downstream; the fix has to land here so the next companion sync (+gen-views.sh) re-stamps it correctly.Resolves the drift reported in dotfiles-Kali issues #152 and #153.
🤖 Generated with Claude Code
https://claude.ai/code/session_0125U2VZpg9dt7729QoctYQ8
Generated by Claude Code