Make C/S/X exploitation prompt case-insensitive - #106
Closed
p0dalirius with Copilot wants to merge 2 commits into
Closed
Make C/S/X exploitation prompt case-insensitive#106p0dalirius with Copilot wants to merge 2 commits into
p0dalirius with Copilot wants to merge 2 commits into
Conversation
Agent-Logs-Url: https://github.com/p0dalirius/Coercer/sessions/be69d885-4c32-41f3-904e-7de793352a0f Co-authored-by: p0dalirius <79218792+p0dalirius@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix C/S/X prompt to be case-insensitive in exploitation actions
Make C/S/X exploitation prompt case-insensitive
Apr 23, 2026
p0dalirius
marked this pull request as ready for review
April 24, 2026 07:59
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.
The interactive exploitation prompt rejected lowercase input (
c,s,x), forcing users to re-enter their answer in uppercase.Changes
coercer/core/tasks/execute.py: Replaced thewhile … not inloop (which required pre-initialized state) with a cleanerwhile True/breakpattern that strips, uppercases, and validates the first character in one pass — accepting both cases transparently.Empty input (bare Enter) continues to re-prompt. Any trailing characters after the first valid key are silently ignored.