User Tools

Site Tools


variables_you_can_use_in_lucy

This is an old revision of the document!


Landing Page Variables

Path name

You may use the following variables in the template:

  • %static% — path to static directory. It may be useful to make references to CSS/JS files from the HTML page. For example:◦<link rel="stylesheet" type="text/css" href="%static%/style.css"> or <script src="static%/script.js"></script>

Other variables that can be used within the landing page

  • %link% — base link of the scenario. Use it in navigation for constructing absolute URLs. The %link% gets replaced in a campaign with the domain/ip which is defined in the scenario settings.
  • %name% — recipient name
  • %redirect% — the Redirect URL
  • %email% — recipient e-mail address
  • %message% — error message (if any)
  • %link-awareness% — link to awareness website. You should configure & enable awareness website in campaign settings for this feature to work.
  • %division%, %location%, %staff-type%, %comment% — recipient related information.
  • ?track — If you want to track file downloads, add "?track" parameter to the end of the file download URL (example: http://your.lucy-installation.com/file.exe?track)

Please note, that these variables are not available in CSS and Javascript files.

Login form parameters

The login form should use a POST method and either point to the same page (have an empty action attribute) or have an action set to "?login". If you want to validate logins & passwords using regular expressions ("Login Regexp" and "Password Regexp" fields in scenario settings), please set the name of the login field to "login" and the name of the password field to "password".

Message Template Variables

You may use the following variables in the template:

  • %link% — unique page URL for the recipient.
  • %link-awareness% — link to awareness website. You should configure & enable awareness website in campaign settings for this feature to work.
  • %name% — recipient name
  • %email% — recipient e-mail address
  • %division%, %location%, %staff-type%, %comment% — recipient related information.

Please note, that these variables are not available in CSS and Javascript files.

Reporting Template Variables

Within your custom report template you can use the following variables which be populated with the dynamically created content from your campaign:

  • %system.info% System Information
  • %beef.stats% BeEF Statistics
  • %charts% All Charts
  • %charts.summary% Summary Chart
  • %charts.totalstats% Total Stats Chart
  • %charts.beef% BeEF Stats Chart
  • %charts.dailystats% Daily Stats Chart
  • %charts.hourlystats% Hourly Stats Chart
  • %charts.os% Operating System Chart
  • %charts.browsers% Browsers Chart
  • %charts.files% Files Chart
  • %charts.plugins% Plugins Chart
  • %charts.countries% Countries Chart
  • %charts.additional% Additional Charts

eLearning variables

You can also create your own eLearning templates. You may use the following variables in the templates:

  • %name% — Recipient's name (if applicable)
  • %email% — Recipient's email address (if applicable)
  • %client% — Client's name
  • %started% — Date when the related campaign has been started.
  • %stopped% — Date when the related campaign has been stopped.
variables_you_can_use_in_lucy.1503519658.txt.gz · Last modified: 2019/07/25 12:51 (external edit)