Module Expr Str Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Print BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Print BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
   Copyright 2016 Emerson Electric Co.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
 N/A os N/A sys N/A argparse N/A logging N/A processor cloghandler ConcurrentRotatingFileHandler conf config datetime datetime dt Scanner N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self filename N/A N/A self source N/A N/A self archive N/A N/A self suppress_report N/A N/A self file N/A N/A self yara_rule_path N/A N/A config SCANNER_CONFIG N/A YARA_PATH N/A N/A self export_path N/A N/A config SCANNER_CONFIG N/A EXPORT_PATH N/A N/A self log_path N/A N/A config SCANNER_CONFIG N/A LOG_PATH N/A N/A self max_depth N/A N/A config SCANNER_CONFIG N/A MAX_DEPTH N/A N/A self dbg_h N/A N/A self scan_h N/A N/A self timeout N/A N/A config SCANNER_CONFIG N/A TIMEOUT N/A N/A self alert False N/A N/A self full N/A N/A self sub_objects N/A N/A check_directories N/A N/A self N/A N/A N/A N/A N/A N/A N/A os path isdir N/A self log_path N/A N/A N/A N/A N/A N/A os makedirs N/A self log_path N/A N/A N/A N/A N/A Unable to create logging directory: %s. Check permissions? N/A self log_path N/A N/A N/A sys exit 2 N/A N/A N/A N/A N/A os path isdir N/A self export_path N/A N/A N/A N/A N/A N/A os makedirs N/A self export_path N/A N/A N/A N/A e N/A N/A N/A sys exc_info N/A 0 N/A N/A Unable to create export directory: %s. Check permissions? N/A self export_path N/A N/A N/A sys exit 2 N/A initialize_logger N/A N/A self N/A N/A N/A N/A self dbg_h N/A N/A logging getLogger dbg_log N/A dbglog N/A %s/%s N/A N/A self log_path dbg.log N/A dbg_rotateHandler N/A ConcurrentRotatingFileHandler dbglog a N/A N/A N/A N/A self dbg_h addHandler dbg_rotateHandler N/A N/A N/A N/A self dbg_h setLevel N/A logging ERROR N/A N/A self scan_h N/A N/A logging getLogger scan_log N/A scanlog N/A %s/%s N/A N/A self log_path scan.log N/A scan_rotateHandler N/A ConcurrentRotatingFileHandler scanlog a N/A N/A N/A N/A self scan_h addHandler scan_rotateHandler N/A N/A N/A N/A self scan_h setLevel N/A logging INFO N/A check_yara_file N/A N/A self N/A N/A N/A N/A N/A N/A N/A os path isfile N/A self yara_rule_path N/A N/A N/A N/A N/A self dbg_h error N/A %s Could not load Yara rule file. File %s, does not exist! N/A N/A N/A dt now N/A self yara_rule_path N/A N/A N/A sys exit 2 N/A scan_file N/A N/A self N/A N/A N/A N/A N/A processor scan_file self N/A N/A