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

Retaining state between requests #9

Open
josephwhenry opened this issue Nov 28, 2023 · 2 comments
Open

Retaining state between requests #9

josephwhenry opened this issue Nov 28, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@josephwhenry
Copy link

Is it possible to retain the state between requests? E.g., I want to show only one instance of each unique request. Could I calculate an MD5 hash of each request and compare it to a list of "I've seen this one before"'s before choosing to display it?

If not, could this be added as a feature in a future version of Bambdas?

@SeanBurnsUK
Copy link

There is no official way yet (You could contact portswigger and ask for it). I do have a "hack" way of doing it. Here is a simple example that keeps a count of every item and only shows even items. Just replace the count with your map/hash etc.

    return count++ % 2 != 0;
}

int count = 0;

void notImportant() {

@Hannah-PortSwigger
Copy link
Contributor

To raise a feature request, please drop us an email at [email protected] 😄

@PortSwiggerWiener PortSwiggerWiener added the enhancement New feature or request label Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

4 participants