KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache
System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : andertr9 ( 1047)
PHP Version : 8.2.18
Disable Function : NONE
Directory :  /opt/osquery/share/osquery/lenses/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/osquery/share/osquery/lenses/postfix_access.aug
(* Parsing /etc/postfix/access *)

module Postfix_Access =
  autoload xfm

  let sep_tab = Util.del_ws_tab
  let sep_spc = Util.del_ws_spc

  let eol = del /[ \t]*\n/ "\n"
  let indent = del /[ \t]*/ ""

  let comment = Util.comment
  let empty   = Util.empty

  let char = /[^# \n\t]/
  let text =
    let cont = /\n[ \t]+/ in
    let any = /[^#\n]/ in
    char | (char . (any | cont)* .char)

  let word = char+
  let record = [ seq "spec" .
                  [ label "pattern" . store  word ] . sep_tab .
                  [ label "action" . store word ] .
                  [ label "parameters" . sep_spc . store text ]? . eol ]

  let lns = ( empty | comment | record )*

  let xfm = transform lns (incl "/etc/postfix/access" . incl "/usr/local/etc/postfix/access")

Anon7 - 2021