Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python3.6/site-packages/sos/upload/targets/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
3 ~ �g�p � @ s� d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZm Z yd dl Z dZW n ek rh dZY nX yd dl Z dZW n ek r� dZY nX G dd� d�ZdS ) � N)�getpass)�_sos)� is_executable�TIMEOUT_DEFAULTTFc @ s� e Zd ZdZdZdZdZdZdZdZ dZ dZdZdZ dZdZdZdZdZdZdZdZdZdZdZdZdZdZdZddd g ddddd d d dddddddd�ZdSdd �Zdd� Zdd� Z e!dd� �Z"dd� Z#dd� Z$dd� Z%dd� Z&dd� Z'dd� Z(d d!� Z)d"d#� Z*d$d%� Z+d&d'� Z,d(d)� Z-dTd*d+�Z.d,d-� Z/d.d/� Z0d0d1� Z1d2d3� Z2d4d5� Z3d6d7� Z4d8d9� Z5d:d;� Z6d<d=� Z7d>d?� Z8d@dA� Z9dUdBdC�Z:dDdE� Z;dVdGdH�Z<dIdJ� Z=dWdKdL�Z>dMdN� Z?dXdOdP�Z@dYdQdR�ZAdS )Z�UploadTargetz� This class is designed to upload files to a distribution defined location. These files can be either sos reports, sos collections, or other kind of files like: vmcores, application cores, logs, etc. z� Upload a file (can be an sos report, a must-gather, or others) to a distribution defined remote location zGeneric UploadZgenericN�/zhttps://s3.amazonaws.com� F�auto)�upload_file�case_id�low_priorityZprofiles� upload_url�upload_directory�upload_user�upload_pass� upload_method�upload_no_ssl_verify�upload_protocol�upload_s3_endpoint�upload_s3_region�upload_s3_bucket�upload_s3_access_key�upload_s3_secret_key�upload_s3_object_prefix� upload_targetc C s"