403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.190
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/cloudinit/sources/helpers/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/cloudinit/sources/helpers/__pycache__/akamai.cpython-312.pyc
�

�f����ddlZddlmZmZmZmZddlmZdddddd	d
�Zdee	ee
e	fffd�Zde
fd
�Zdee	fd�Z
y)�N)�Any�Dict�Optional�Union)�dmi�allow_local_stage�allow_init_stage�
allow_dhcp�
allow_ipv4�
allow_ipv6�preferred_mac_prefixes)�als�ais�dhcp�v4�v6�pmp�returnc��tjd�}i}|s|Stjd|�D]J\}}}|tvs�|dvrtt
|��}n|dk(r|jd�}||t|<�L|S)zH
    Parses flags from dmi data and updates self.ds_cfg accordingly
    zbaseboard-serial-numberz([a-z0-9]+)=(.*?)(;|$)�01r�,)r�
read_dmi_data�re�findall�DMI_OVERRIDE_MAP�bool�int�split)�	dmi_flags�ret�key�value�_s     �B/usr/lib/python3/dist-packages/cloudinit/sources/helpers/akamai.py�get_dmi_configr%s����!�!�";�<�I��C���
����$=�y�I�/�
��U�A��"�"���}��S��Z�(��������C�(��).�C� ��%�&�
/��J�c�4�tjd�}|dvS)zo
    Reads the BIOS vendor from dmi data to determine if we are running in the
    Akamai Connected Cloud.
    zsystem-manufacturer)�Linode�Akamai�rr)�vendors r$�is_on_akamair,(s!��
�
�
�4�
5�F��)�)�)r&c�,�tjd�S)zo
    Returns the instance id read from dmi data without requiring the metadata
    service to be reachable
    zsystem-serial-numberr*�r&r$�get_local_instance_idr/1s��
���3�4�4r&)r�typingrrrr�	cloudinitrr�strrr%r,r/r.r&r$�<module>r3sh��	�-�-�����
�
�#�
����S�%��c�	�"2�2�3��.*�d�*�5�x��}�5r&

Youez - 2016 - github.com/yon3zu
LinuXploit