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 : |
module DevfsRules = autoload xfm let comment = IniFile.comment IniFile.comment_re "#" let eol = Util.eol let line_re = /[^][#; \t\n][^#;\n]*[^#; \t\n]/ let entry = [ seq "entry" . store line_re . (eol | comment) ] let title = Util.del_str "[" . key Rx.word . [ label "id" . Sep.equal . store Rx.integer ] . Util.del_str "]" . eol . counter "entry" let record = IniFile.record title (entry | comment) let lns = IniFile.lns record comment let filter = incl "/etc/defaults/devfs.rules" . incl "/etc/devfs.rules" let xfm = transform lns filter