-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix unresolved interactsh-url
with self-contained
for raw http templates
#5938
Conversation
WalkthroughThe changes modify the Changes
Assessment against linked issues
Sequence DiagramsequenceDiagram
participant RG as RequestGenerator
participant IC as InteractshClient
RG->>RG: Check if request is self-contained
alt Self-Contained Request
RG->>RG: Immediately return self-contained request
else Not Self-Contained
RG->>IC: Check Interactsh availability
alt Interactsh Available
RG->>RG: Replace Interactsh variables
else No Interactsh
RG->>RG: Convert payloads to string slices
end
end
Poem
Tip CodeRabbit's docstrings feature is now available as part of our Early Access Program! Simply use the command 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (2)pkg/protocols/http/build_request.go (2)
Declaring
By checking However, since the PR mentions uncompleted tests, you may want to add a focused unit test verifying that a self-contained template still receives correct interactsh URL substitutions. Would you like me to provide a sample test snippet? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
interactsh-url
for raw http templatesinteractsh-url
with self-contained
for raw http templates
Proposed changes
Closes #5937
Checklist
Summary by CodeRabbit
New Features
Bug Fixes