shell bypass 403

UnknownSec Shell


name : punycode.cpython-36.pyc
3


 \��@s�dZddlZdd�Zdd�Zdd�Zd	d
�Zdd�Zd
Zdd�Zdd�Z	dd�Z
dd�Zdd�Zdd�Z
dd�ZGdd�dej�ZGdd�dej�ZGd d!�d!ej�ZGd"d#�d#eej�ZGd$d%�d%eej�Zd&d'�ZdS)(uY Codec for the Punicode encoding, as specified in RFC 3492

Written by Martin v. Löwis.
�NcCsTt�}t�}x2|D]*}t|�dkr2|jt|��q|j|�qWt|�}t|�|fS)z 3.1 Basic code point segregation�)�	bytearray�set�ord�append�add�sorted�bytes)�str�base�extended�c�r�*/usr/lib64/python3.6/encodings/punycode.py�	segregate
s
rcCs*d}x |D]}t|�|kr
|d7}q
W|S)z@Return the length of str, considering only characters below max.r�)r)r
�max�resr
rrr�
selective_lens

rcCsRt|�}xD|d7}||krdS||}||kr:|d|fS||kr
|d7}q
WdS)aReturn a pair (index, pos), indicating the next occurrence of
    char in str. index is the position of the character considering
    only ordinals up to and including char, and pos is the position in
    the full string. index/pos is the starting position in the full
    string.rN���r)rr)�len)r
�char�index�pos�lr
rrr�selective_findsrcCs�d}g}d}x~|D]v}d}}t|�}t||�}	|	d||}
xBt||||�\}}|dkr^P|
||7}
|j|
d�|}d}
qBW|}qW|S)z3.2 Insertion unsort codingrrrrrr)rrrr)r
rZoldchar�resultZoldindexr
rrrZcurlen�deltarrr�insertion_unsort0s$

rcCs,d|d|}|dkrdS|dkr(dS|S)N�$r�r)�j�biasrrrr�TFsr#s$abcdefghijklmnopqrstuvwxyz0123456789cCsrt�}d}xbt||�}||kr4|jt|�t|�S|jt|||d|�||d|}|d7}qWdS)z(3.3 Generalized variable-length integersrrrN)rr#r�digitsr	)�Nr"rr!�trrr�generate_generalized_integerNs
r'cCs\|r|d}n|d}|||7}d}x|dkrB|d}|d7}q(W|d||d}|S)Ni��ri��#r�&r)r�first�numcharsZ	divisionsr"rrr�adapt[s

r-cCsTt�}d}x@t|�D]4\}}t||�}|j|�t||dk||d�}qWt|�S)z3.4 Bias adaptation�Hrr)r�	enumerater'�extendr-r	)Zbaselen�deltasrr"Zpointsr�srrr�generate_integersjs

r3cCs8t|�\}}t||�}tt|�|�}|r4|d|S|S)N�-)rrr3r)�textrrr1rrr�punycode_encodeus
r6c
Cs�d}d}d}x�yt||�}Wn,tk
rJ|dkr>td��|ddfSX|d7}d|kofdknrv|d}nDd|ko�d	knr�|d
}n"|dkr�td||��n|dfSt||�}	|||7}||	kr�||fS|d|	}|d7}qWdS)
z(3.3 Generalized variable-length integersrr�strictzincomplete punicode stringN�A�Z�0�9�z Invalid extended code point '%s'r)r�
IndexError�UnicodeErrorr#)
r�extposr"�errorsr�wr!r�digitr&rrr�decode_generalized_numbers2


rCc	Cs�d}d
}d}d}x�|t|�kr�t||||�\}}|dkr<|S||d7}||t|�d7}|dkr�|dkrxtd|��td	�}|t|�d}|d|�t|�||d�}t||dkt|��}|}qW|S)z3.2 Insertion unsort codingrrr.rNi��r7zInvalid character U+%x�?r)rrCr>r�chrr-)	rrr@rrr"r?Znewposrrrr�insertion_sort�s( rFcCs�t|t�r|jd�}t|t�r&t|�}|jd�}|dkrLd}t|d�j�}n.t|d|�d|�}t||dd�d�j�}t|||�S)N�asciir4r�r)�
isinstancer
�encode�
memoryviewr	�rfind�upperrF)r5r@rrrrrr�punycode_decode�s



rNc@s eZdZddd�Zddd�ZdS)	�Codecr7cCst|�}|t|�fS)N)r6r)�self�inputr@rrrrrJ�szCodec.encodecCs*|dkrtd|��t||�}|t|�fS)Nr7�replace�ignorezUnsupported error handling )r7rRrS)r>rNr)rPrQr@rrrr�decode�s
zCodec.decodeN)r7)r7)�__name__�
__module__�__qualname__rJrTrrrrrO�s
rOc@seZdZddd�ZdS)�IncrementalEncoderFcCst|�S)N)r6)rPrQ�finalrrrrJ�szIncrementalEncoder.encodeN)F)rUrVrWrJrrrrrX�srXc@seZdZddd�ZdS)�IncrementalDecoderFcCs$|jdkrtd|j��t||j�S)Nr7rRrSzUnsupported error handling )r7rRrS)r@r>rN)rPrQrYrrrrT�s
zIncrementalDecoder.decodeN)F)rUrVrWrTrrrrrZ�srZc@seZdZdS)�StreamWriterN)rUrVrWrrrrr[�sr[c@seZdZdS)�StreamReaderN)rUrVrWrrrrr\�sr\c	Cs tjdt�jt�jttttd�S)NZpunycode)�namerJrT�incrementalencoder�incrementaldecoder�streamwriter�streamreader)	�codecs�	CodecInforOrJrTrXrZr[r\rrrr�getregentry�srd)�__doc__rbrrrrr#r$r'r-r3r6rCrFrNrOrXrZr[r\rdrrrr�<module>s(



© 2025 UnknownSec
Web Design for Beginners | Anyleson - Learning Platform
INR (₹)
India Rupee
$
United States Dollar
Web Design for Beginners

Web Design for Beginners

in Design
Created by Linda Anderson
+2
5 Users are following this upcoming course
Course Published
This course was published already and you can check the main course
Course
Web Design for Beginners
in Design
4.25
1:45 Hours
8 Jul 2021
₹11.80

What you will learn?

Create any website layout you can imagine

Support any device size with Responsive (mobile-friendly) Design

Add tasteful animations and effects with CSS3

Course description

You can launch a new career in web development today by learning HTML & CSS. You don't need a computer science degree or expensive software. All you need is a computer, a bit of time, a lot of determination, and a teacher you trust. I've taught HTML and CSS to countless coworkers and held training sessions for fortune 100 companies. I am that teacher you can trust. 


Don't limit yourself by creating websites with some cheesy “site-builder" tool. This course teaches you how to take 100% control over your webpages by using the same concepts that every professional website is created with.


This course does not assume any prior experience. We start at square one and learn together bit by bit. By the end of the course you will have created (by hand) a website that looks great on phones, tablets, laptops, and desktops alike.


In the summer of 2020 the course has received a new section where we push our website live up onto the web using the free GitHub Pages service; this means you'll be able to share a link to what you've created with your friends, family, colleagues and the world!

Requirements

No prerequisite knowledge required

No special software required

Comments (0)

Report course

Please describe about the report short and clearly.

Share

Share course with your friends