403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.84
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Python315/Lib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python315/Lib/__pycache__/uuid.cpython-315.opt-1.pyc
R
>lqjșc�0�Qs]PHs]PHs]PHs]QHGsGsQs\OQ/7cP
9s	s
L5\OQ6XcP	s
P
s	L]PH s\O2s\Q6Hs	\Q07s
Qs
P
s\	%cQs
P	s,Q1Nvssss\s\s\\2Q	Q
22s]]�*]*
sQ2sQ3sQ4sQ5sQ6sQ7sQ8sQ9s QQ2s!Q
s"Qs#Qs$Qs%Qs&Qs'Qs(Qs)Qs*Qs+]PH�s,\-\,QP2s.\,O^s0\-\,QP2s1Qs3Qs4Qs5\
%c\(\',s6L>\OQ6Xc\'\)\+,s6L'\OQ6Xc,s6L\	%c\+,s6L\'\(\)\+\*,s6\OnQ6Xc\3,\6*s8L\OnQ6Xc\4,\6*s8L\6s8Pr9Qs:Pr;Q:Qks<Q s=Q!s>Q"s?Pr@Q:Q#ksAPrB]rCQ$sDQ%sEQ;Q&ksFQ'sG\!Q(2sH\!Q)2sI\!Q*2sJ\!Q+2sK\!Q,2sL\!Q-2sM\NQ.6Xc
\G2P!P!\2c
Ps,Ps.P
s0Ps1CKh9h)<a�UUID objects (universally unique identifiers) according to RFC 4122/9562.

This module provides immutable UUID objects (class UUID) and functions for
generating UUIDs corresponding to a specific UUID version as specified in
RFC 4122/9562, e.g., uuid1() for UUID version 1, uuid3() for UUID version 3,
and so on.

Note that UUID version 2 is deliberately omitted as it is outside the scope
of the RFC.

If all you want is a unique ID, you should probably call uuid1() or uuid4().
Note that uuid1() may compromise privacy since it creates a UUID containing
the computer's network address.  uuid4() creates a random UUID.

Typical usage:

    >>> import uuid

    # make a UUID based on the host ID and current time
    >>> uuid.uuid1()    # doctest: +SKIP
    UUID('a8098c1a-f86e-11da-bd1a-00112444be1e')

    # make a UUID using an MD5 hash of a namespace UUID and a name
    >>> uuid.uuid3(uuid.NAMESPACE_DNS, 'python.org')
    UUID('6fa459ea-ee8a-3ca4-894e-db77e160355e')

    # make a random UUID
    >>> uuid.uuid4()    # doctest: +SKIP
    UUID('16fd2706-8baf-433b-82eb-8c7fada847da')

    # make a UUID using a SHA-1 hash of a namespace UUID and a name
    >>> uuid.uuid5(uuid.NAMESPACE_DNS, 'python.org')
    UUID('886313e1-3b8a-5372-9b90-0c9aee199e5d')

    # make a UUID from a string of hex digits (braces and hyphens ignored)
    >>> x = uuid.UUID('{00010203-0405-0607-0809-0a0b0c0d0e0f}')

    # convert a UUID to a string of hex digits in standard form
    >>> str(x)
    '00010203-0405-0607-0809-0a0b0c0d0e0f'

    # get the raw 16 bytes of the UUID
    >>> x.bytes
    b'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f'

    # make a UUID from a 16-byte string
    >>> uuid.UUID(bytes=x.bytes)
    UUID('00010203-0405-0607-0809-0a0b0c0d0e0f')

    # get the Nil UUID
    >>> uuid.NIL
    UUID('00000000-0000-0000-0000-000000000000')

    # get the Max UUID
    >>> uuid.MAX
    UUID('ffffffff-ffff-ffff-ffff-ffffffffffff')
)�Enum�_simple_enumzKa-Ping Yee <ping@zesty.ca>�win32�darwin�linux�AIX�:�.c�$�\sQs]^s]sPsPsQsP!)�SafeUUID�)�__name__�
__module__�__qualname__�__firstlineno__�safe�unsafe�unknown�__static_attributes__r��C:\Python315\\Lib\uuid.pyr
r
^s���D�
�F��Grr
c�`�\sQs]rsnQsQ!sQ"Q\O-Qkks\	Q2s
QsQsQs
QsQ	sQ
sQsQsQ
sQsQsQs\Q2s\Q2s\Q2s\Q2s\Q2s\Q2s\Q2s\Q2s\Q2s \Q2s!\Q2s"\Q2s#\Q2s$\Q2s%\Q2s&Q s'Us(P!)#�UUIDa�
Instances of the UUID class represent UUIDs as specified in RFC 4122.
UUID objects are immutable, hashable, and usable as dictionary keys.
Converting a UUID to a string with str() yields something in the form
'12345678-1234-1234-1234-123456789abc'.  The UUID constructor accepts
five possible forms: a similar string of hexadecimal digits, or a tuple
of six integer fields (with 32-bit, 16-bit, 16-bit, 8-bit, 8-bit, and
48-bit values respectively) as an argument named 'fields', or a string
of 16 bytes (with all the integer fields in big-endian order) as an
argument named 'bytes', or a string of 16 bytes (with the first three
fields in little-endian order) as an argument named 'bytes_le', or a
single 128-bit integer as an argument named 'int'.

UUIDs have these read-only attributes:

    bytes       the UUID as a 16-byte string (containing the six
                integer fields in big-endian byte order)

    bytes_le    the UUID as a 16-byte string (with time_low, time_mid,
                and time_hi_version in little-endian byte order)

    fields      a tuple of the six integer fields of the UUID,
                which are also available as six individual attributes
                and two derived attributes. Those attributes are not
                always relevant to all UUID versions:

                    The 'time_*' attributes are only relevant to version 1.

                    The 'clock_seq*' and 'node' attributes are only relevant
                    to versions 1 and 6.

                    The 'time' attribute is only relevant to versions 1, 6
                    and 7.

        time_low                the first 32 bits of the UUID
        time_mid                the next 16 bits of the UUID
        time_hi_version         the next 16 bits of the UUID
        clock_seq_hi_variant    the next 8 bits of the UUID
        clock_seq_low           the next 8 bits of the UUID
        node                    the last 48 bits of the UUID

        time                    the 60-bit timestamp for UUIDv1/v6,
                                or the 48-bit timestamp for UUIDv7
        clock_seq               the 14-bit sequence number

    hex         the UUID as a 32-character hexadecimal string

    int         the UUID as a 128-bit integer

    urn         the UUID as a URN as specified in RFC 4122/9562

    variant     the UUID variant (one of the constants RESERVED_NCS,
                RFC_4122, RESERVED_MICROSOFT, or RESERVED_FUTURE)

    version     the UUID version number (1 through 8, meaningful only
                when the variant is RFC_4122)

    is_safe     An enum indicating whether the UUID has been generated in
                a way that is safe for multiprocessing applications, via
                uuid_generate_time_safe(3).
�is_safec���VV4U,OP2]6wc[Q2gUdCL1UdmUOQP2OQP2oUOQ2OQP2o[	U2] 6wc[Q2g[
U]2oCL�Udo[	U2]6wc[Q2gU]PP/*U]]P/**U]]P/**UQ**o[OU2oCLOUd3[	U2]6wc[Q	2g[OU2oCLUCd[	U2]6wc[Q
2gUvq�o
q�o
]St96:cQ6fL[Q2g]S	t96:cQ6fL[Q2g]S
t96:cQ6fL[Q
2g]St96:cQ6fL[Q2g]St96:cQ6fL[Q2g]S
t96:cQ6fL[Q2gU]*U*oU]`*U	]P**U
]@**U]0**U
*o]St96:c[6:fL[Q2gUdB]St96:c]6:fL[Q2gU[*oUQ*oVV]L**o[OUQU2[OUQU2P!)a�Create a UUID from either a string of 32 hexadecimal digits,
a string of 16 bytes as the 'bytes' argument, a string of 16 bytes
in little-endian order as the 'bytes_le' argument, a tuple of six
integers (32-bit time_low, 16-bit time_mid, 16-bit time_hi_version,
8-bit clock_seq_hi_variant, 8-bit clock_seq_low, 48-bit node) as
the 'fields' argument, or a single 128-bit integer as the 'int'
argument.  When a string of hex digits is given, curly braces,
hyphens, and a URN prefix are all optional.  For example, these
expressions all yield the same UUID:

UUID('{12345678-1234-5678-1234-567812345678}')
UUID('12345678123456781234567812345678')
UUID('urn:uuid:12345678-1234-5678-1234-567812345678')
UUID(bytes='\x12\x34\x56\x78'*4)
UUID(bytes_le='\x78\x56\x34\x12\x34\x12\x78\x56' +
              '\x12\x34\x56\x78\x12\x34\x56\x78')
UUID(fields=(0x12345678, 0x1234, 0x5678, 0x12, 0x34, 0x567812345678))
UUID(int=0x12345678123456781234567812345678)

Exactly one of 'hex', 'bytes', 'bytes_le', 'fields', or 'int' must
be given.  The 'version' argument is optional; if given, the resulting
UUID will have its variant and version set according to RFC 4122,
overriding the given 'hex', 'bytes', 'bytes_le', 'fields', or 'int'.

is_safe is an enum exposed as an attribute on the instance.  It
indicates whether the UUID has been generated in a way that is safe
for multiprocessing applications, via uuid_generate_time_safe(3).
zGone of the hex, bytes, bytes_le, fields, or int arguments must be givenzurn:zuuid:z{}�-z$badly formed hexadecimal UUID stringz bytes_le is not a 16-char string��NNzbytes is not a 16-char stringzfields is not a 6-tuplez*field 1 out of range (need a 32-bit value)z*field 2 out of range (need a 16-bit value)z*field 3 out of range (need a 16-bit value)z*field 4 out of range (need an 8-bit value)z*field 5 out of range (need an 8-bit value)z*field 6 out of range (need a 48-bit value)z*int is out of range (need a 128-bit value)zillegal version number��intrli��)�count�	TypeError�replace�strip�len�
ValueError�int_�
from_bytes�
_UINT_128_MAX�_RFC_4122_CLEARFLAGS_MASK�object�__setattr__)�self�hex�bytes�bytes_le�fieldsr�versionr�time_low�time_mid�time_hi_version�clock_seq_hi_variant�
clock_seq_low�node�	clock_seqs&&&&&&&$       r�__init__�
UUID.__init__�s���@
��#�.�4�4�T�:�a�?��=�>�
>��?��
�_��+�+�f�b�)�1�1�'�2�>�C��)�)�D�/�)�)�#�r�2�C��3�x�2�~� �!G�H�H��s�B�-�C�
�
!��8�}��"� �!C�D�D��c�g�2�g�&��#�c�"�*�)=�=��c�#�b�j�)�*�,4�R�L�9�E��/�/�%�(�C�
�
��5�z�R�� �!@�A�A��/�/�%�(�C�
�
��6�{�a�� �!:�;�;�:@�
8�X��
!�$���,�G�,� �!M�N�N���,�G�,� �!M�N�N���3�7�3� �!M�N�N��,�7��7� �!M�N�N��
�0��0� �!M�N�N���(��(� �!M�N�N�-��2�m�C�I���N�x�2�~�6�#�r�)�+�.7�2�o�?�AE�F�C��C�(�=�(��I�J�J�����$�1�$� �!9�:�:��,�,�C��(�(�C��b�=� �C����4���,����4��G�4rc��[OU2o[OUQU2[OUQ[O2U!)z9Create a UUID from an integer *value*. Internal use only.rr)r+�__new__r,r
r)�cls�valuer-s&& r�	_from_int�UUID._from_intsA���~�~�c�"�����4���.����4��H�,<�,<�=��rc��QUO-oUO[O6wcUOOUQ$U!�rr)rrr
rr?)r-�ds& r�__getstate__�UUID.__getstate__s<��
�D�H�H����<�<�8�+�+�+� �<�<�-�-�A�i�L��rc���[OUQUQ*2[OSQQU7c[UQ*22P![O2P!rC)r+r,r
r)r-�states&&r�__setstate__�UUID.__setstate__sQ�����4���e��5����4��'�5�0�$�E�)�$4�5�	H�6>�6F�6F�	Hrc�n�[U[2%cUOUO6H![!�N��
isinstancerr�NotImplemented�r-�others&&r�__eq__�UUID.__eq__#�(���e�T�"�"��8�8�u�y�y�(�(��rc�n�[U[2%cUOUO6![!rLrMrPs&&r�__lt__�UUID.__lt__+�(���e�T�"�"��8�8�e�i�i�'�'��rc�n�[U[2%cUOUO6�![!rLrMrPs&&r�__gt__�UUID.__gt__0rXrc�n�[U[2%cUOUO6*![!rLrMrPs&&r�__le__�UUID.__le__5rTrc�n�[U[2%cUOUO6�![!rLrMrPs&&r�__ge__�UUID.__ge__:rTrc�.�[UO2!rL)�hashr�r-s&r�__hash__�
UUID.__hash__?s���D�H�H�~�rc��UO!rL�rrds&r�__int__�UUID.__int__Bs���x�x�rc�R�UOO8Q[U28Q0!)�(�))�	__class__r�strrds&r�__repr__�
UUID.__repr__Es���>�>�2�2�C��I�>�>rc��[Q2g)zUUID objects are immutable)r")r-�namer?s&&&rr,�UUID.__setattr__Hs���4�5�5rc
��UOoUQ*QUQ*QUQ*QUQ*QUQ*0	!):NrNr:r�N:rv�N:rw�N:rxNN)r.)r-�xs& r�__str__�UUID.__str__KsB���H�H���B�%���!�D�'��!�A�e�H�:�Q�q��x�j��!�C�&��B�Brc�:�UOO]2!)rw)r�to_bytesrds&rr/�
UUID.bytesOs���x�x� � ��$�$rc��UOoU]PP/*U]]P/**U]]P/**UQ**!)�r�r/)r-r/s& rr0�
UUID.bytes_leSsI���
�
���c�g�2�g���s�3�r�z�!2�2�U�3�s�2�:�5F�F��b�	��	rc��UOUOUOUOUOUO
1!rL)r3r4r5r6r7r8rds&rr1�UUID.fieldsYs:���
�
�t�}�}�d�.B�.B��)�)�4�+=�+=�t�y�y�J�	Jrc�*�UO]`*	!)�`rhrds&rr3�
UUID.time_low^s���x�x�2�~�rc�8�UO]P*	Q*!)�P�rhrds&rr4�
UUID.time_midb������B��&�(�(rc�8�UO]@*	Q*!)�@r�rhrds&rr5�UUID.time_hi_versionfr�rc�8�UO]8*	]�*!)�8rhrds&rr6�UUID.clock_seq_hi_variantj������B��$�&�&rc�8�UO]0*	]�*!)�0rhrds&rr7�UUID.clock_seq_lownr�rc���UO]6XcVUO]`*	oUO]@*	Q*oU]*UO]**U*!UO]6XcUO]P*	!UO]@*	Q*oUO]`*	oU]0*UO] **U*!)��)r2rr4)r-�time_hi�time_los&  r�time�	UUID.timers����<�<�1���h�h�"�n�G��x�x�2�~��/�G��b�=�D�M�M�R�$7�8�7�B�B�
�\�\�Q�
��8�8�r�>�!��x�x�2�~��/�G��h�h�"�n�G��b�=�D�M�M�R�$7�8�7�B�Brc�Z�UO]?*]*UO*!)�?)r6r7rds&rr9�UUID.clock_seq�s(���+�+�d�2�q�8��"�"�#�	$rc�*�UOQ*!)����rhrds&rr8�	UUID.node�s���x�x�.�(�(rc�8�UOO2!rL)r/r.rds&rr.�UUID.hex�s���z�z�~�~��rc�(�Q[U2*!)z	urn:uuid:)rords&r�urn�UUID.urn�s���S��Y�&�&rc���UOQ*%f[!UOQ*%f[!UOQ*%f[![!)i�rll)r�RESERVED_NCS�RFC_4122�RESERVED_MICROSOFT�RESERVED_FUTURErds&r�variant�UUID.variant�sF���x�x�<�(�(������\�*�*��O����\�*�*�%�%�"�"rc�x�UO[6Xc$[UO]L*	]*2!P!)�L)r�r�rrds&rr2�UUID.version�s-���<�<�8�#�����B��#�-�.�.�$rr)rr�__weakref__)NNNNNN))rr
rr�__doc__�	__slots__r
rr:�classmethodr@rErIrRrVrZr]r`rerirpr,rz�propertyr/r0r1r3r4r5r6r7r�r9r8r.r�r�r2r�__classdictcell__)�
__classdict__s@rrrrs�����;�z2�I�W5�"*�"2�"2�W5�r�����H���
�
�
�
��?�6�C��%��%�����
�J��J������)��)��)��)��'��'��'��'��C��C�$�$��$��)��)�� �� ��'��'��#��#��/��/rrc�j�]PHo]PHo]PH
o]PHoUOOQUO2OUO2oUOQQ,2UOVOOU2Q5oUeP![UO2oQUQ$UQ6wcU,UN3oLU1oUOUUOUOUQ5o	U	%fP!U	O!2vq�UO#U
2![$SO&1cP!h9h)	��PATHz/sbinz	/usr/sbin)�path�C�LC_ALL)�stdout�stderr�env)�)�io�os�shutil�
subprocess�environ�get�defpath�split�pathsep�extend�which�join�dict�Popen�PIPE�DEVNULL�communicate�BytesIO�OSError�SubprocessError)�command�argsr�r�r�r��	path_dirs�
executabler��procr�r�s&*          r�_get_command_stdoutr��s��%�%���J�J�N�N�6�2�:�:�6�<�<�R�Z�Z�H�	����'�;�/�0��\�\�'�
�
���	�0J�\�K�
�����2�:�:�����H�
��5�=�!�)�D�)�G�!�m�G�����'1���'1�'9�'9�$'� �)�����)�)�+����z�z�&�!�!���Z�/�/�0����s*�BD� D�7:D�4"D�D2�-D2�1D2c� �UQ*%(!)�lr��macs&r�
_is_universalr��s���w�� � rc
���[V2oUeP!PoSFD�oUO2O2O2o[	[U22FDfoVx*U7fJVsU2*o	[
U	O[Q2]2o
[U
2%c	U
tt!S9%fS
oJh	J�	S9%fP![[1cJ�h9h)a�Searches a command's output for a MAC address near a keyword.

Each line of words in the output is case-insensitively searched for
any of the given keywords.  Upon a match, get_word_index is invoked
to pick a word from the line, given the index of the match.  For
example, lambda i: 0 would get the first word on the line, while
lambda i: i - 1 would get the word preceding the keyword.
r)r��lower�rstripr��ranger%rr#�
_MAC_DELIMr�r&�
IndexError)r�r��keywords�get_word_indexr��first_local_mac�line�words�i�wordr�s&&&&       r�_find_mac_near_keywordr��s���!��
/�F�
�~���O����
�
��#�#�%�+�+�-���s�5�z�"�A��x�8�#�
=� ���!2�3�D��d�l�l�:�s�;�R�@�C�%�S�)�)�"�
�&5�&<�&<��O�#��$�"�"�d�"��#�J�/���
�s�/.C�C+�&C+�*C+c���UO[2o[U2]6wcP![%cT[9PIcQU2D%cJP
L	P	LQU22%fP!QOQU22oLL[9PIcQU2D%cJP
L	P	LQU22%fP!QOU2o[
U]2![cP!h9h)r�c3�l�SF �D%o][U2t96*9%c]6*Ltw�	J'	P!3h�r��r%��.0�parts& r�	<genexpr>�_parse_mac.<locals>.<genexpr>s$��5���5�4�1��D�	�&�&�Q�&�&�5�s�4�4rc3�P�SF �DpO]Q2w�	J	P!3h)��0)�rjustr�s& rr�r�s��%���%�$�*�*�Q��-�-�%�s�&c3�J�SF �Do[U2]6Hw�	J	P!3h�r�r�r�s& rr�r�s��e���e�d�3�t�9��>�e�s�#)r�r�r%�_MAC_OMITS_LEADING_ZEROES�allr�rr&)r��parts�hexstrs&  r�
_parse_macr�s���
�J�J�z�"�E�
�5�z�Q��� � �
�s�9�5�9�s�s�s�9�5�9�9�9�����@�%�@�@���s�4�e�4�s�s�s�4�e�4�4�4�����%�����6�2��������s�C!�!	C0�+C0�/C0c��[V2oUeP!UO2O2O2oUO	U2oPoSFDYoUO2O2oV�*o	[U	2o
U
eJ;[U
2%cU
t!UdJWS
oJ[	U![
cP!h9h[cJh9h)aLooks for a MAC address under a heading in a command's output.

The first line of words in the output is searched for the given
heading. Words at the same word index as the heading in subsequent
lines are then examined to see if they look like MAC addresses.
)	r��readliner�r��indexr&r�rr�)r�r��headingr�r��column_indexr�r�r�r�r�s&&&        r�_find_mac_under_headingr
s���!��
/�F�
�~����� �'�'�)�/�/�1�H���~�~�g�.���O������
�#�#�%��	��&�D������;�������J��"�!�O�����'������	��	�s0�B5�8C�5	C�?C�C�	C�C�Cc�V�QoQFDo[QVQ2oU%fJUt!	P!)z5Get the hardware address on Unix by running ifconfig.�ifconfigc��U]*!r�r�r�s&r�<lambda>�#_ifconfig_getnode.<locals>.<lambda>Ds��1�Q�3r)shwaddrsethersaddress:slladdr)r�z-az-av�r�)r�r�r�s   r�_ifconfig_getnoder?s0��=�H�!��$�Z���O���3��J�"�rc�<�[QQQ,Q2oU%cU!P!)z/Get the hardware address on Unix by running ip.�ip�links
link/etherc��U]*!r�rrs&rr�_ip_getnode.<locals>.<lambda>Ls��!�A�#rrr�s r�_ip_getnoderIs!��!��v�
��
�
N�C�
��
�rc��]PHo]PHo[UQ2%fP!UOUO	22o[
QQUOU2,Q2oU%cU![
QQUOU2,Q2oU%cU![
QQUOQU*2,Q2oU%cU!P![
cP!h9h)z0Get the hardware address on Unix by running arp.�
gethostbyname�arpz-anc��P!r�rrs&rr�_arp_getnode.<locals>.<lambda>\s��QSrc��U]*!r�rrs&rrras��QR�ST�QTrz(%s)c��U]*!r�rrs&rrrgs��a��cr)r��socket�hasattrr�gethostnamer�r��fsencode)r�r �ip_addrr�s    r�_arp_getnoder%Qs�����6�?�+�+����&�&�v�'9�'9�';�<��
!������G�0D�/E�|�
T�C�
��
�!������G�0D�/E�}�
U�C�
��
�!������F�W�<L�0M�/N�!�#�C���
���'����s�C�	C�C�Cc�$�[QQQ,Q2!)z4Get the hardware address on Unix by running lanscan.�lanscanz-aislan0c��]!)r�rrs&rr�"_lanscan_getnode.<locals>.<lambda>ps��rrrrr�_lanscan_getnoder*ms��"�)�U�W�I�{�K�Krc��[QQQ2!)z4Get the hardware address on Unix by running netstat.�netstatz-iansAddress)r
rrr�_netstat_getnoder-rs��#�9�f�j�A�Ar�generate_time_safe�
UuidCreatec��[%c1[%c#[2vq[UQ5O!P!P!)zBGet the hardware address on Unix using the _uuid extension module.r�)�_generate_time_safe�_has_stable_extractable_noderr8)�	uuid_time�_s  r�
_unix_getnoder5�s1����;�;�*�,��	��)�$�)�)�)� <�rc�|�[%c/[%c![2o[UQ5O!P!P!)zEGet the hardware address on Windows using the _uuid extension module.)r0)�_UuidCreater2rr8)�
uuid_bytess r�_windll_getnoder9�s,���{�3�3� �]�
��Z�(�-�-�-�4�{rc�d�[O[O]22Q*!)zGet a random node ID.l�rr(r��urandomrrr�_random_getnoder=�s ���>�>�"�*�*�Q�-�(�G�4�4r�posix�ntc���[d[![[,*FD5oU2r[eJ][t96:c
Q6fJ*LJ.[t!	P!J@9h)aGet the hardware address as a 48-bit positive integer.

The first time this runs, it may launch a separate program, which could
be quite slow.  If all attempts to obtain the hardware address fail, we
choose a random 48-bit number with its eighth bit set to 1 as recommended
in RFC 4122.
r )�_node�_GETTERSr=)�getters r�getnoderD�sV��
�����o�.�.�.��	��H�E�
��A��$:�'�$:�$:��L�
/��	��s�A�A#c�:�[d2Xt9Ice(LL$[2vq#[U2o[	V$Q5![
O2oU]d*Q*o[dU[6:c[]*oUrUe]PH"oUO]2oUQ*oU] *	Q*o	U]0*	Q*o
U]�*oU]*	]?*oUe[2o[	V�U
V�U1]Q5![c[OoK�h9h)aGenerate a UUID from a host ID, sequence number, and the current time.
If 'node' is not given, getnode() is used to obtain the hardware
address.  If 'clock_seq' is given, it is used as the sequence number;
otherwise a random 14-bit sequence number is chosen.)r/r�@'Hw�
���r�r�)r1r2)r1r
r&rrr��time_ns�_last_timestamp�random�getrandbitsrD)
r8r9r3�safely_generatedr�nanoseconds�	timestamprJr3r4r5r7r6s
&&           r�uuid1rO�s���&�4�+D�+D�&9�&;�#�	�	'��/�0�G��)�5�5��,�,�.�K��s�"�%7�7�I��"�y�O�'C�#�a�'�	��O�����&�&�r�*�	��:�%�H��R��6�)�H� �B��&�0�O���$�M�%��N�d�2���|��y����O�,�T�C�LM�O�O��/�	'��&�&�G�	'�s�C<�<	D�D�Dc�<�[U[2%c
[UQ2o]PHoUO	UOU*P
Q5o[
O
UO22oU[*oU[*o[OU2!)zAGenerate a UUID from the MD5 hash of a namespace UUID and a name.�utf-8��usedforsecurity)rNror/�hashlib�md5rr(�digestr*�_RFC_4122_VERSION_3_FLAGSrr@)�	namespacersrT�h�
int_uuid_3s&&   r�uuid3r[�sr���$�����T�7�#������I�O�O�d�*�E��B�A�������
�+�J��+�+�J��+�+�J��>�>�*�%�%rc��[O[O]22oU[*oU[
*o[OU2!)zGenerate a random UUID.)rr(r�r<r*�_RFC_4122_VERSION_4_FLAGSrr@)�
int_uuid_4s r�uuid4r_s=������
�
�2��/�J��+�+�J��+�+�J��>�>�*�%�%rc�J�[U[2%c
[UQ2o]PHoUO	UOU*P
Q5o[
O
UO2Q*2oU[*oU[*o[OU2!)zCGenerate a UUID from the SHA-1 hash of a namespace UUID and a name.rQrR:NrwN)rNror/rT�sha1rr(rVr*�_RFC_4122_VERSION_5_FLAGSrr@)rXrsrTrY�
int_uuid_5s&&   r�uuid5rdsv���$�����T�7�#������Y�_�_�t�+�U��C�A�������
�3��0�J��+�+�J��+�+�J��>�>�*�%�%rc���]PHoUO2oU]d*Q*o[dU[6:c[]*oUrUe]PHoUO	]2oU]*	Q*oUQ*oUQ*oUe[2oU]P*o	V�]@**o	V�]0**o	V�Q**o	U	[*o	[OU	2!)aXSimilar to :func:`uuid1` but where fields are ordered differently
for improved DB locality.

More precisely, given a 60-bit timestamp value as specified for UUIDv1,
for UUIDv6 the first 48 most significant bits are stored first, followed
by the 4-bit version (same position), followed by the remaining 12 bits
of the original 60-bit timestamp.
rFr�r�i�?)	r�rH�_last_timestamp_v6rJrKrD�_RFC_4122_VERSION_6_FLAGSrr@)
r8r9r�rMrNrJ�time_hi_and_midr��clock_s�
int_uuid_6s
&&        r�uuid6rks�����,�,�.�K��s�"�%7�7�I��%�)�7I�*I�&��*�	�"������&�&�r�*�	� �B��*:�:�O��&� �G��&� �G��|��y��!�B�&�J��R�-��J��R�-��J��)�)�)�J��+�+�J��>�>�*�%�%rc��[O[O]
22oU] *	Q*oUQ*oV1!)�
l���rGr;)�rand�counter�tails   r�_uuid7_get_counter_and_tailrqDs8���>�>�"�*�*�R�.�)�D��r�z�_�,�G��+��D��=�rc�^�[O2oUQ*o[dU[6�c[2vq#LkU[6c[]*o[]*oUQ6�cU]*
o[2vq#L)[
O
[O]22oUQ*oU]*	oUQ*oUQ*oUQ*oU]P*oV�]@**oV�] **oV�*oU[*o[OU2o	UrUrU	!)z�Generate a UUID from a Unix timestamp in milliseconds and random bits.

UUIDv7 objects feature monotonicity within a millisecond.
i@Bl���r�r�i���?rG)r�rH�_last_timestamp_v7rq�_last_counter_v7rr(r�r<�_RFC_4122_VERSION_7_FLAGSrr@)
rM�timestamp_msrorp�
unix_ts_ms�counter_msbs�
counter_hi�
counter_lo�
int_uuid_7�ress
          r�uuid7r}Ms��*�,�,�.�K��)�+�L��!�\�4F�%F�3�5�
����,�,�-��1�L�"�Q�&���_�$��A��L�7�9�M�G�T��>�>�"�*�*�Q�-�0�D�� 0�0�J��b�=�L���&�J��;�&�J�	�K��D��r�!�J���"�"�J���"�"�J���J��+�+�J�
�.�.��
$�C�&�����Jrc�H�Ue]PHoUO]02oUe]PHoUO]2oUe]PHoUO]>2oUQ*]P*oVAQ*]@**oVBQ**oU[*o[O	U2!)aGenerate a UUID from three custom blocks.

* 'a' is the first 48-bit chunk of the UUID (octets 0-5);
* 'b' is the mid 12-bit chunk (octets 6-7);
* 'c' is the last 62-bit chunk (octets 8-15).

When a value is not specified, a pseudo-random value is generated.
r�r�l����)rJrK�_RFC_4122_VERSION_8_FLAGSrr@)�a�b�crJ�
int_uuid_8s&&&  r�uuid8r��s���	�y�����r�"���y�����r�"���y�����r�"���&�&�2�-�J��u�9��#�#�J��+�+�+�J��+�+�J��>�>�*�%�%rc�&�Q[Q[Q[Q[Q[Q[
Q[-oQ%oQ[Q	[Q
[Q[-o]PH.oUOUOQQ
5oUOQQUO2QQQ5UOQQQQO!U2Q0QQ5UOQQQQ5UOQQQ["]Q Q!5UO%2oVO&*oUO(oUO*oUO&U7c{U%c	U%f UO-Q"UO&Q#02Vr7c
V'*oL[/U2o[3UO42FDo
[7UVx22J	P![3UO42FDo
[7U22J	P![0c,o	SO-S	Q$SO(802Po	=	K�Po	=	hh9h)&z$Run the uuid command line interface.rOr[r_rdrkr}r�z@dnsz@urlz@oidz@x500z1Generate a UUID using the selected UUID function.)�formatter_class�descriptionz-uz--uuidzfunction to generate the UUID)�choices�default�helpz-nz--namespacez
{any UUID,�,�}zY`uuid3`/`uuid5` only: a UUID, or a well-known predefined UUID addressed by namespace name)�metavarr�z-Nz--namez>`uuid3`/`uuid5` only: name used as part of generating the UUID)r�z-Cz--count�NUMzgenerate `NUM` fresh UUIDs)r��typer�r�zIncorrect number of arguments. zO requires a namespace and a name. Run 'python -m uuid -h' for more information.z: )r[rd)rOr[r_rdrkr}r��
NAMESPACE_DNS�
NAMESPACE_URL�
NAMESPACE_OID�NAMESPACE_X500�argparse�ArgumentParser�ArgumentDefaultsHelpFormatter�add_argument�keysr�r�
parse_args�uuidrXrs�errorrr&r�r!�print)�
uuid_funcs�uuid_namespace_funcs�
namespacesr��parserr��	uuid_funcrXrs�excr4s           r�mainr��s
��	���������������J�.���
��
��
���	�J��
�
$�
$� �>�>�G�%��F�����h� *��� 1� '�<��>�����m�"-�c�h�h�z�.B�-C�2� F�,��-�
����h�C��D�����i��S�!�9��;�����D��9�9�%�I����I��9�9�D��y�y�(�(����L�L�1��9�9�+�@�@�
�
�"�"�-�I�
;� ��O�	��t�z�z�"�A��)�I�,�-�#��t�z�z�"�A��)�+��#���
;�����u�B�t�~�~�&8�9�:�:��
;�s�0G�	H�$H�%!H�Hz$6ba7b810-9dad-11d1-80b4-00c04fd430c8z$6ba7b811-9dad-11d1-80b4-00c04fd430c8z$6ba7b812-9dad-11d1-80b4-00c04fd430c8z$6ba7b814-9dad-11d1-80b4-00c04fd430c8z$00000000-0000-0000-0000-000000000000z$ffffffff-ffff-ffff-ffff-ffffffffffff�__main__>�wasirr�
emscripten)�Linux�Android)zreserved for NCS compatibilityzspecified in RFC 4122z$reserved for Microsoft compatibilityzreserved for future definitionl����llll
lll)NN)NNN)Or�r��sysr��enumrr�
__author__�platform�_AIX�_LINUX�system�_platform_systemr�rr�r�r�r�rr'r/�bytes_r
r)r*�_RFC_4122_VERSION_1_FLAGSrWr]rbrgrurrr�r�r�rr
rrr%r*r-�_uuid�getattrr1�has_stable_extractable_noder2r7�ImportErrorr5r9r=�_OS_GETTERSrsrBrArDrIrOr[r_rdrfrkrsrtrqr}r�r�r�r�r�r��NIL�MAXrrrr�<module>r�s���8�t
�
��#�+�
��<�<�<�<���D�6��\�\�W��
�F��D�����(���5�(�D��#7�7�F�
�
�!����J� $��?N�;��h�*�O���	���d�������c��Q��
�>��7��7��7��7��7��7��7��s/�s/�l	�\!� #�F�8!�L���8L�
B�	��!�%�)=�t�D��#(�#D�#D� ��%��t�4�K�*�.�5�0
�� 1�2�K��\�\�X��$�l�4D�E�K��\�\�W���K�	�#�$�K�$�k�<�#�%5�7�K��7�7�g�����,�H��W�W��_�� �;�.�H��H���O�,��$O�L	&�&�	&���"&�J�����=�@&�4>�F�;�<�
��;�<�
��;�<�
��<�=���1�2��
�1�2���z���F���m���E���#(� ��K�	�s� $H�H�	H�H

Youez - 2016 - github.com/yon3zu
LinuXploit