File: time.rst

package info (click to toggle)
yara 4.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,820 kB
  • sloc: ansic: 52,244; yacc: 2,873; lex: 2,019; cpp: 863; makefile: 479; javascript: 85; sh: 47; python: 35
file content (17 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

.. _time-module:

############
Time module
############

.. versionadded:: 3.7.0

The Time module allows you to use temporal conditions in your YARA rules.

.. c:function:: now()

    Function returning an integer which is the number of seconds since January
    1, 1970.

    *Example: pe.timestamp > time.now()*