[Bro] define a variable name based on string in bro

Jan Grashöfer jan.grashoefer at gmail.com
Tue Apr 18 02:27:52 PDT 2017


> I am trying to auto generate a variable name dynamically.
> ...
> The above does not work, so is there any command in bro language that could
> transform a string into a variable ?

Seems what you're looking for is a string indexed table:
https://www.bro.org/sphinx-git/scripting/index.html#id12

Jan


More information about the Bro mailing list