Merged
Conversation
- Add PID field to backend models, protocol decoder, and services - Update implant client (z-beac0n-core.zig) to send PID in identity - Refactor frontend implants table: - Remove ID and Status columns - Split OS/Arch into separate columns - Move OS column to first position (icon only with tooltip) - Reorder columns: Protocol after Internal IP, Arch after PID - Center align Arch column
Rename 'jitter' to 'sleep' (base interval in seconds) and add new 'jitter' field for random variation percentage (0-100). Backend changes: - models/implant.go: Add Sleep field, Jitter now means percentage - config/config.go: DefaultSleep=5, DefaultJitter=20 - handlers/operator.go: UpdateImplantSleep accepts sleep and jitter - router.go: /implants/:id/jitter -> /implants/:id/sleep - storage/implant_repo.go: Update stale detection to account for jitter - models/payload.go: Add Sleep field for payload generation - services/payload_service.go: Pass sleep and jitter to build Frontend changes: - types/index.ts: Add sleep field, jitter is now percentage - implantSlice.ts: updateImplantJitter -> updateImplantSleep - api.ts: updateImplantSleep with sleep and jitter params - Implants.tsx: Edit modal with Sleep and Jitter fields - Payloads.tsx: Add Sleep and Jitter fields to payload form Implant changes: - z-beac0n-core.zig: Add sleep field, implement random sleep with jitter Formula: actual_sleep = sleep ± (sleep * jitter / 100) - build.zig files: Add -Dsleep option, jitter is now percentage
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.
Add jitter (random variation) to sleep interval
Add PID field to implant and refactor implants table