diff --git a/README.md b/README.md index 13462ed..1090217 100644 --- a/README.md +++ b/README.md @@ -209,6 +209,7 @@ burp2_add_manual_clients: - name: client_name profile: profile name to use (optional), default: profile_lnxsrv (these files are in incexc/ dir). password: client_password (optional), default: burp_client_password var + content: list of custom content (optional) - name: second_client ``` diff --git a/templates/profiles/new_client.j2 b/templates/profiles/new_client.j2 index 49228f4..c11cff5 100644 --- a/templates/profiles/new_client.j2 +++ b/templates/profiles/new_client.j2 @@ -2,6 +2,13 @@ password = {{ item.password | default(burp_client_password) }} +{% if item.content is defined -%} + {%- for l in item.content -%} + {{ l }} + {% endfor %} + +{% endif -%} + # More configuration files can be read, using syntax like the following # (without the leading '# '). . incexc/{{ item.profile | default('profile_lnxsrv') }}