Files
SecGen/modules/generators/content/date/secgen_metadata.xml
thomashaw 3a0f426842 utilities/mail module: creates system mail messages for a user on a linux system.
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.
2017-06-13 19:34:53 +01:00

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>