Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

focr_tmp_path - String determining the absolute path to a directory where the plugin may write temporary files to (without trailing slash)
focr_verbosityverbose - Verbose level (0 - 2). (1 is currently the default)

  • 0 means normal operation.
  • 1 means output all words and the corresponding measured distance in the rule output:
    6.0 FUZZY_OCR BODY: Mail contains an image with common spam text inside
    Words found:
    "viagra" with fuzz of 0.2
    "cialis" with fuzz of 0
    "viagra" with fuzz of 0.2
    "levitra" with fuzz of 0
    (4 word occurrences found)
  • 2 means same as 1 with an additional output of the text recognized by gocr in a file debug.<number>.focr in the local directory
    This file also contains the recognized format type in the first line (1 means gif, 2 jpeg, 3 png).



...