Repository navigation
Conversation
ruvolof
force-pushed
the
support_custom_headers_for_http_listener
branch
from
August 5, 2026 20:26
f39d78a to
af71f9d
Compare
The powershell stager/comms for the http, http_hop and port_forward_pivot listeners did not send the profile's custom headers. This wires them through properly: - Add parse_custom_headers() and pass a custom_headers dict into the powershell templates, replacing the old brittle string-replacement patch on the rendered stager. - Populate $Script:Headers in comms.ps1.j2 and apply the headers during staging in http.ps1.j2 (with host-header domain-fronting handling). - The header loop tolerates a missing custom_headers so render paths that do not supply it (e.g. http_foreign) are unaffected. - Add tests covering header parsing and stager/comms injection.
ruvolof
force-pushed
the
support_custom_headers_for_http_listener
branch
from
October 11, 2026 08:11
af71f9d to
f31bc58
Compare
Member
|
Thanks @ruvolof! This was hand-ported onto the 7.0 listener layout (listeners moved to |
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.
Describe your changes
Issue ticket number and link (if there is one)
#831
Checklist before requesting a review
CHANGELOG.mddocs/(if applicable)