The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

How do I check the string length using BCheck?

Vitor | Last updated: Apr 08, 2024 06:47PM UTC

I have the followign code: ``` given insertion point then if {insertion_point_base_value} in {base.response} then ... end if ``` However, I'd like to check if `insertion_point_base_value` length exceeds three characters. How can I do it?

Michelle, PortSwigger Agent | Last updated: Apr 09, 2024 02:52PM UTC

Hi One option could be to use a match regex as an extra condition in your BCheck, for example: if {insertion_point_base_value} matches ".{3,}" then ... I hope this helps. Please let me know if you have any questions.

Vitor | Last updated: Apr 12, 2024 11:25AM UTC

Thanks for the help! I am also wondering if I can take the parameter name. Maybe something like insertion_point_base_key?

Michelle, PortSwigger Agent | Last updated: Apr 12, 2024 12:47PM UTC