Skip to content
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

Fixing issue with User Agent in Implant Generation #1445

Merged
merged 4 commits into from
Nov 3, 2023
Merged

Conversation

RafBishopFox
Copy link
Collaborator

Addresses #1444 . Makes the User Agent a string literal so that characters that are normally escaped, like double quote, can be inserted into that field. Here is what it looks like in Wireshark:

image

Default UA strings seem to work fine as well, so this should not cause any regressions.

@RafBishopFox RafBishopFox requested a review from a team as a code owner November 1, 2023 16:57
@moloch--
Copy link
Member

moloch-- commented Nov 1, 2023

i think it would be better to escape the string, using ` means you also need to escape `

…allows for other characters that would have to be escaped
…an support other characters that would normally need to be escaped.
@moloch-- moloch-- merged commit 9d1fa0d into master Nov 3, 2023
5 checks passed
@moloch--
Copy link
Member

moloch-- commented Nov 3, 2023

Fix issue #1444

@RafBishopFox RafBishopFox deleted the fix-1444 branch November 8, 2023 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants