mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-22 11:48:17 +00:00
generators/mail_message: hash containing the data for a mail message. generators/mail_id: outputs a randomly generated mail id string. generators/date: added mail format and option to pass a date in + have it formatted.
28 lines
875 B
XML
28 lines
875 B
XML
<?xml version="1.0"?>
|
|
|
|
<generator xmlns="http://www.github/cliffe/SecGen/generator"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.github/cliffe/SecGen/generator">
|
|
<name>Date Generator</name>
|
|
<author>Thomas Shaw</author>
|
|
<module_license>MIT</module_license>
|
|
<description>Date generator.</description>
|
|
|
|
<type>date_generator</type>
|
|
<platform>linux</platform>
|
|
<platform>windows</platform>
|
|
|
|
<read_fact>date</read_fact>
|
|
<read_fact>format</read_fact>
|
|
|
|
<!-- Default behaviour returns a random date from epoch => system time.
|
|
Pass a value to the date read_fact in the format: 01/01/2016 10:00:00 to use this module to format a date-->
|
|
|
|
<default_input into="format">
|
|
<value>mysql_datetime</value>
|
|
<!--<value>mail</value>-->
|
|
</default_input>
|
|
|
|
<output_type>date</output_type>
|
|
</generator>
|