Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Dict Num Num Num Num Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Str Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr orelse If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore BinOpMult BinOpMult Num Num Num FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr While CompareGtE NameLoad Num body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad AugAssignSub NameStore Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword ListLoad Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Num TryExcept body Assign NameStore Call NameLoad SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Index Str Index Num handlers ExceptHandler type TupleLoad NameLoad NameLoad NameLoad body Assign NameStore Num With AttributeLoad NameLoad attr body AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr keyword ListLoad Str TryFinally body TryExcept body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore BoolOpOr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str keyword Num ExceptHandler type NameLoad name NameStore body If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Num finalbody With AttributeLoad NameLoad attr body AugAssignSub AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr keyword ListLoad Str decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Call AttributeLoad NameLoad attr Str keyword ListLoad Str decorator_list ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr If NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign TupleStore NameStore NameStore NameLoad Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr If CompareEq NameLoad Num body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad Num body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults NameLoad body Assign NameStore TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Print Str decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad
N/A N/A This is the GRR frontend HTTP Server. N/A BaseHTTPServer N/A cgi N/A cStringIO N/A pdb N/A socket N/A SocketServer N/A threading N/A ipaddr N/A logging grr.lib server_plugins grr.lib aff4 grr.lib communicator grr.lib config_lib grr.lib flags grr.lib flow grr.lib master grr.lib rdfvalue grr.lib startup grr.lib stats grr.lib type_info grr.lib utils grr.lib.flows.general file_finder grr.lib.rdfvalues flows rdf_flows GRRHTTPServerHandler N/A N/A BaseHTTPServer BaseHTTPRequestHandler N/A N/A GRR HTTP handler for receiving client posts. N/A statustext N/A 200 404 406 500 200 OK 404 Not Found 406 Not Acceptable 500 Internal Server Error N/A active_counter_lock N/A N/A threading Lock N/A active_counter 0 Send N/A N/A self data status ctype last_modified N/A 200 application/octet-stream 0 N/A N/A N/A N/A N/A self wfile write N/A HTTP/1.0 %s
Server: GRR Server
Content-type: %s
Content-Length: %d
Last-Modified: %s

%s N/A N/A N/A self statustext N/A status ctype N/A len data N/A N/A self date_time_string last_modified data N/A do_GET N/A N/A self N/A N/A N/A Serve the server pem with GET requests. N/A url_prefix N/A N/A config_lib CONFIG N/A Frontend.static_url_path_prefix N/A N/A N/A N/A self path startswith /server.pem N/A N/A N/A N/A self ServerPem N/A N/A N/A N/A N/A self path startswith url_prefix N/A N/A path N/A N/A self path N/A N/A len url_prefix N/A N/A N/A self ServeStatic path N/A N/A AFF4_READ_BLOCK_SIZE N/A N/A 10 1024 1024 ServeStatic N/A N/A self path N/A N/A N/A static_aff4_prefix N/A N/A config_lib CONFIG N/A Frontend.static_aff4_prefix N/A aff4_path N/A N/A N/A N/A rdfvalue RDFURN static_aff4_prefix Add path N/A N/A N/A N/A N/A logging info Serving %s aff4_path N/A fd N/A N/A N/A aff4 FACTORY Open aff4_path token N/A N/A aff4 FACTORY root_token N/A True N/A N/A data N/A N/A fd Read N/A self AFF4_READ_BLOCK_SIZE N/A N/A data N/A N/A N/A N/A N/A self Send data N/A N/A N/A N/A IOError AttributeError N/A N/A N/A N/A self Send status 404 N/A ServerPem N/A N/A self N/A N/A N/A N/A N/A self Send N/A N/A self server server_cert N/A N/A RECV_BLOCK_SIZE 8192 _GetPOSTData N/A N/A self length N/A N/A N/A input_data N/A N/A cStringIO StringIO N/A N/A length 0 N/A N/A read_size N/A min N/A self RECV_BLOCK_SIZE length N/A data N/A N/A N/A self rfile read read_size N/A N/A data N/A N/A N/A N/A N/A input_data write data N/A length N/A len data N/A N/A N/A input_data getvalue N/A do_POST N/A N/A self N/A N/A N/A Process encrypted message bundles. N/A N/A N/A self Control N/A Control N/A N/A self N/A N/A N/A Handle POSTS. N/A N/A N/A N/A N/A master MASTER_WATCHER IsMaster N/A N/A N/A N/A N/A stats STATS IncrementCounter frontend_inactive_request_count fields N/A http N/A N/A N/A logging info Request sent to inactive frontend from %s N/A N/A self client_address N/A 0 N/A N/A N/A api_version N/A int N/A N/A N/A N/A cgi parse_qs N/A N/A N/A N/A self path split ? N/A 1 N/A api N/A 0 N/A N/A N/A N/A ValueError KeyError IndexError N/A N/A api_version 3 N/A N/A GRRHTTPServerHandler active_counter_lock N/A N/A N/A GRRHTTPServerHandler active_counter 1 N/A N/A N/A N/A stats STATS SetGaugeValue frontend_active_count N/A self active_counter fields N/A http N/A N/A N/A N/A N/A length N/A int N/A N/A N/A self headers getheader content-length N/A request_comms N/A N/A rdf_flows ClientCommunication N/A N/A self _GetPOSTData length N/A N/A N/A request_comms api_version N/A N/A N/A request_comms api_version api_version N/A responses_comms N/A N/A rdf_flows ClientCommunication api_version N/A request_comms api_version N/A source_ip N/A N/A ipaddr IPAddress N/A N/A self client_address N/A 0 N/A N/A N/A source_ip version 6 N/A N/A source_ip N/A N/A source_ip ipv4_mapped source_ip N/A N/A request_comms orig_request N/A N/A rdf_flows HttpRequest raw_headers N/A N/A utils SmartStr N/A self headers source_ip N/A N/A utils SmartStr source_ip N/A N/A source nr_messages N/A N/A N/A N/A self server frontend HandleMessageBundles request_comms responses_comms N/A N/A N/A logging info HTTP request from %s (%s), %d bytes - %d messages received, %d messages sent. source N/A N/A utils SmartStr source_ip length nr_messages N/A responses_comms num_messages N/A N/A N/A self Send N/A N/A responses_comms SerializeToString N/A N/A N/A N/A communicator UnknownClientCert N/A N/A N/A N/A self Send Enrollment required status 406 N/A N/A Exception N/A e N/A N/A N/A N/A flags FLAGS debug N/A N/A N/A N/A pdb post_mortem N/A N/A N/A logging error Had to respond with status 500: %s. e N/A N/A N/A self Send Error status 500 N/A N/A N/A GRRHTTPServerHandler active_counter_lock N/A N/A N/A GRRHTTPServerHandler active_counter 1 N/A N/A N/A N/A stats STATS SetGaugeValue frontend_active_count N/A self active_counter fields N/A http N/A N/A N/A stats Counted frontend_request_count fields N/A http N/A N/A stats Timed frontend_request_latency fields N/A http N/A GRRHTTPServer N/A N/A SocketServer ThreadingMixIn N/A BaseHTTPServer HTTPServer N/A N/A The GRR HTTP frontend server. N/A allow_reuse_address True N/A request_queue_size 500 N/A address_family N/A socket AF_INET6 __init__ N/A N/A self server_address handler frontend N/A None args kwargs N/A N/A N/A N/A N/A stats STATS SetGaugeValue frontend_max_active_count N/A self request_queue_size N/A frontend N/A N/A N/A self frontend frontend N/A N/A N/A self frontend N/A N/A flow FrontEndServer certificate N/A N/A config_lib CONFIG N/A Frontend.certificate private_key N/A N/A config_lib CONFIG N/A PrivateKeys.server_key max_queue_size N/A N/A config_lib CONFIG N/A Frontend.max_queue_size message_expiry_time N/A N/A config_lib CONFIG N/A Frontend.message_expiry_time max_retransmission_time N/A N/A config_lib CONFIG N/A Frontend.max_retransmission_time N/A N/A self server_cert N/A N/A config_lib CONFIG N/A Frontend.certificate N/A N/A address _ server_address N/A version N/A N/A N/A ipaddr IPAddress address version N/A N/A version 4 N/A N/A N/A self address_family N/A socket AF_INET N/A N/A N/A version 6 N/A N/A N/A self address_family N/A socket AF_INET6 N/A N/A N/A logging info Will attempt to listen on %s server_address N/A N/A N/A N/A BaseHTTPServer HTTPServer __init__ self server_address handler args kwargs N/A N/A CreateServer N/A N/A frontend N/A None N/A N/A server_address N/A N/A N/A config_lib CONFIG N/A Frontend.bind_address N/A N/A config_lib CONFIG N/A Frontend.bind_port N/A httpd N/A GRRHTTPServer server_address GRRHTTPServerHandler frontend frontend N/A sa N/A N/A N/A httpd socket getsockname N/A N/A N/A logging info Serving HTTP on %s port %d ... N/A sa N/A 0 N/A sa N/A 1 N/A httpd N/A Serve N/A N/A server N/A N/A N/A N/A N/A N/A N/A server serve_forever N/A N/A N/A KeyboardInterrupt N/A N/A N/A main N/A N/A unused_argv N/A N/A N/A Main. N/A N/A N/A N/A config_lib CONFIG AddContext HTTPServer Context N/A N/A N/A startup Init N/A httpd N/A CreateServer N/A N/A N/A startup DropPrivileges N/A N/A N/A N/A N/A httpd serve_forever N/A N/A N/A KeyboardInterrupt N/A N/A Caught keyboard interrupt, stopping N/A N/A N/A __name__ __main__ N/A N/A N/A N/A flags StartMain main