PortSwigger / BChecks

BChecks collection for Burp Suite Professional and Burp Suite Enterprise Edition
https://portswigger.net/burp/documentation/scanner/bchecks
GNU Lesser General Public License v3.0
590 stars 105 forks source link

Issue with Variable Inclusion in [run for each] #91

Closed ayadim closed 10 months ago

ayadim commented 11 months ago

Hi, Am trying to define a value then include it in "run for each" the code is validated.I've encountered an issue related to variable inclusion in the loop, it does not send any request at all. here is me code example:

define:
        custom_collaborator = "XXXXX.oast.live"

run for each:
        payload = "shell_exec('ping -c 1 {custom_collaborator}')",`system('ping -c 1 {custom_collaborator}')`

i know i can change the collaborator setting but i try to create the same scenario scripts where i add defined variables to "run for each" loop.

regards

Originally posted by @ayadim in https://github.com/PortSwigger/BChecks/discussions/90

JaveleyQAQ commented 10 months ago

https://github.com/PortSwigger/BChecks/issues/55