Module Expr Str Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str TryExcept body Assign AttributeStore NameLoad attr Call NameLoad TupleLoad NameLoad NameLoad NameLoad handlers ExceptHandler body Print Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num TryFinally body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str NameLoad Index Num Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num If CompareNotEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call AttributeLoad NameLoad attr Raise Call NameLoad While CompareLt Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpSub NameLoad Call NameLoad NameLoad AugAssignAdd NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num NameLoad finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num keyword NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore Call NameLoad BinOpSub Call NameLoad AttributeLoad NameLoad attr Num Num Num body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Pass decorator_list If CompareEq NameLoad Str body Assign NameStore BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str If CompareNotEq Call NameLoad AttributeLoad NameLoad attr Num body Print BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Num With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad Str keyword NameLoad keyword NameLoad keyword NameLoad If CompareEq Str SubscriptLoad AttributeLoad NameLoad attr Index Num body Expr Call AttributeLoad NameLoad attr orelse If CompareEq Str SubscriptLoad AttributeLoad NameLoad attr Index Num body Expr Call AttributeLoad NameLoad attr orelse If CompareEq Str SubscriptLoad AttributeLoad NameLoad attr Index Num body Expr Call AttributeLoad NameLoad attr orelse Print Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num
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 sys N/A struct N/A threading N/A SocketServer N/A json daemon Daemon conf config datetime datetime dt ScannerDaemon N/A Daemon N/A run N/A N/A self N/A N/A N/A HOST N/A N/A config SERVER_CONFIG N/A IP_ADDRESS N/A PORT N/A N/A config SERVER_CONFIG N/A PORT N/A N/A N/A N/A self fsf_server N/A ForkingTCPServer N/A HOST PORT ForkingTCPRequestHandler N/A N/A N/A N/A Could not initialize server... am I already running? N/A N/A N/A sys exit 2 N/A fsf_server_thread N/A N/A threading Thread target N/A N/A self fsf_server serve_forever N/A N/A N/A fsf_server_thread start N/A N/A ForkingTCPRequestHandler N/A N/A SocketServer BaseRequestHandler N/A handle N/A N/A self N/A N/A scanner Scanner N/A s N/A Scanner N/A N/A N/A s check_directories N/A N/A N/A s initialize_logger N/A N/A N/A s check_yara_file N/A N/A N/A N/A self request settimeout 10.0 N/A N/A N/A N/A N/A raw_msg_len N/A N/A N/A self request recv 4 N/A msg_len N/A N/A N/A struct unpack >I raw_msg_len N/A 0 N/A data N/A proto_check N/A N/A N/A self request recv 7 N/A N/A proto_check FSF_RPC N/A N/A N/A N/A N/A s dbg_h error N/A %s Client request integrity check failed. Invalid FSF protocol used. N/A N/A dt now N/A N/A ValueError N/A N/A N/A len data msg_len N/A N/A recv_buff N/A N/A N/A self request recv N/A msg_len N/A len data N/A data recv_buff N/A N/A N/A N/A self request settimeout None N/A N/A N/A self process_data data s 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 N/A N/A s dbg_h error N/A %s There was a problem processing the connection request from %s. Error: %s N/A N/A N/A dt now N/A N/A N/A N/A self request getpeername N/A 0 e N/A N/A N/A N/A N/A self request close N/A process_data N/A N/A self data s N/A N/A N/A N/A N/A N/A N/A s filename N/A s source N/A s archive N/A s suppress_report N/A s full N/A s file N/A N/A data split FSF_RPC N/A results N/A N/A s scan_file N/A N/A N/A s suppress_report True N/A N/A N/A N/A N/A s scan_h info N/A N/A json dumps results sort_keys False N/A N/A N/A N/A N/A s scan_h info N/A N/A json dumps results sort_keys False N/A msg N/A N/A json dumps results indent 4 sort_keys False N/A buffer N/A N/A N/A struct pack >I N/A len msg msg N/A N/A N/A N/A self request sendall buffer N/A N/A N/A s full True N/A N/A N/A N/A self process_subobjects s 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 N/A N/A s dbg_h error N/A %s There was an error generating scanner results. Error: %s N/A N/A N/A dt now e N/A process_subobjects N/A N/A self s N/A N/A N/A N/A N/A N/A N/A len N/A s sub_objects 0 N/A N/A sub_status Data N/A N/A N/A N/A self request sendall sub_status N/A i N/A xrange N/A N/A len N/A s sub_objects 1 -1 -1 N/A N/A sub_count N/A N/A struct pack >I i N/A obj_size N/A N/A struct pack >I N/A len N/A N/A s sub_objects N/A i N/A buffer N/A N/A sub_count obj_size N/A N/A s sub_objects N/A i N/A N/A N/A N/A self request sendall buffer N/A N/A N/A N/A len N/A s sub_objects 0 N/A N/A sub_status Null N/A N/A N/A N/A self request sendall sub_status 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 N/A N/A s dbg_h error N/A %s There was an error dumping sub object data. Error: %s N/A N/A N/A dt now e N/A N/A ForkingTCPServer N/A N/A SocketServer ForkingMixIn N/A SocketServer TCPServer N/A N/A N/A N/A N/A __name__ __main__ N/A N/A daemon_logger N/A %s/%s N/A N/A N/A config SCANNER_CONFIG N/A LOG_PATH daemon.log N/A N/A N/A len N/A sys argv 2 N/A N/A N/A usage: %s start|stop|restart N/A N/A sys argv N/A 0 N/A N/A N/A sys exit 2 N/A N/A open daemon_logger a fh N/A N/A N/A N/A fh write N/A %s Daemon given %s command
 N/A N/A N/A dt now N/A N/A sys argv N/A 1 N/A daemon N/A ScannerDaemon /tmp/scanner.pid stdin daemon_logger stdout daemon_logger stderr daemon_logger N/A N/A start N/A N/A sys argv N/A 1 N/A N/A N/A N/A daemon start N/A N/A N/A stop N/A N/A sys argv N/A 1 N/A N/A N/A N/A daemon stop N/A N/A N/A restart N/A N/A sys argv N/A 1 N/A N/A N/A N/A daemon restart N/A N/A Unknown command N/A N/A N/A sys exit 2 N/A N/A N/A sys exit 0