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

Unable to Revert Back to "None" in Inclusion and Exclusion for Request and Response #16

Closed
Parimal-shaw opened this issue Dec 13, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Parimal-shaw
Copy link
Contributor

Parimal-shaw commented Dec 13, 2024

Have you gone through the Documentation or Video Tutorial

Description
The Following issue occurs when we try to add the Inclusion and Exclusion rules of Parameters for all the encryption. After changing the rule from None to the Inclusion or Exclusion Parameter, we cannot revert back to None as in the UI, the Option gets selected, but the rule followed is the prior one that was set.
Currently, the following issue can be overcome by reinstalling the PyCript for the time being until the next update is released.

To Reproduce
Steps to reproduce the behavior:

  1. Go to PyCript and set the request type as Parameter Value or Parameter Key And Value.
  2. Send any request and check as all the parameter values are getting encrypted because the Request parameter to Include or Exclude is Set as None.
  3. Now go to PyCript and set the Request Parameter to Include or Exclude and provide any valid parameter name from the request.
  4. Now again send the request and check as the mentioned parameter will be Encrypted or Excluded from the Encryption depending upon the option selected in step 3.
  5. Now again go to PyCript and set the Request Parameter to Include or Exclude to None.
  6. Now send the request again and as can be seen in the screenshot below the encryption rule used in step 3 is being used again instead of the step 5 rule.

Expected behavior
Basically after setting the Parameter value for inclusion and exclusion and changing it back to None all the values should be encrypted in the request.

Screenshots
2024-12-14 01_15_46-Burp Suite Professional v2024 10 3 - Bug_Temp - licensed to SECURITY BRIGADE INF
2024-12-14 01_24_14-Burp Suite Professional v2024 10 3 - Bug_Temp - licensed to SECURITY BRIGADE INF
2024-12-14 01_24_25-Burp Suite Professional v2024 10 3 - Bug_Temp - licensed to SECURITY BRIGADE INF
2024-12-14 01_24_51-Burp Suite Professional v2024 10 3 - Bug_Temp - licensed to SECURITY BRIGADE INF

Desktop:

  • OS: Windows
  • BurpSuite Version: Latest
  • PyCript Version: Latest

Additional context
Need to check why the value is not getting changed to None or if the issue can be in self.requestparamlistener.

Scripts
Any Script Templet can be used from https://github.com/Anof-cyber/PyCript-Template/tree/main/AES.

Appreciation
Thanks @Anof-cyber for creating such a great tool.

@Parimal-shaw Parimal-shaw added the bug Something isn't working label Dec 13, 2024
@Parimal-shaw Parimal-shaw changed the title Unable Revert Back to "None" in Inclusion and Exclusion for Request and Response Unable to Revert Back to "None" in Inclusion and Exclusion for Request and Response Dec 13, 2024
@Parimal-shaw Parimal-shaw reopened this Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants