Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

CPH escapes special characters #37

Closed
gk0us opened this issue Apr 23, 2019 · 4 comments
Closed

CPH escapes special characters #37

gk0us opened this issue Apr 23, 2019 · 4 comments

Comments

@gk0us
Copy link

gk0us commented Apr 23, 2019

Steps to reproduce

Put the following string in the expression field which is going to be used to update each field:
/ \@"

The result after the replacement will be:
\/\ \@\"

@elespike
Copy link
Owner

Indeed it does, if you have the RegEx box unchecked:
https://github.com/elespike/burp-cph/blob/master/CPH_Config.py#L1372

Is this preventing you from achieving a desired outcome, and have you tried it with the RegEx enabled? What's your use case?

@gk0us
Copy link
Author

gk0us commented Apr 29, 2019

Indeed, in case of adding a JWT in CPH, with the RegEx checkbox selected, special characters are not escaped. I will get back to you when I try a more complex scenario.

I will try a more complex scenario and get back with the results.

@elespike
Copy link
Owner

Hi, @gk0us

Were you able to achieve your objective? Can I close this issue, or did you spot a bug?

@gk0us gk0us closed this as completed Aug 30, 2019
@gk0us
Copy link
Author

gk0us commented Aug 30, 2019

I did not find any issues, when using the RegEx option enabled. Issue closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants