shell bypass 403

UnknownSec Shell

: /usr/lib64/python3.6/__pycache__/ [ drwxr-xr-x ]

name : sndhdr.cpython-36.opt-1.pyc
3


 \��@s2dZddgZddlmZedd�Zdej_dej_d	ej_d
ej_dej	_dd�Z
d
d�ZgZdd�Z
eje
�dd�Zeje�dd�Zeje�dd�Zeje�dd�Zeje�dd�Zeje�dd�Zeje�dd�Zeje�dd�Zd d!�Zd"d#�Zd$d%�Zd&d'�Zd(d)�Zed*k�r.e�d+S),a�Routines to help recognizing sound files.

Function whathdr() recognizes various types of sound file headers.
It understands almost all headers that SOX can decode.

The return tuple contains the following items, in this order:
- file type (as SOX understands it)
- sampling rate (0 if unknown or hard to decode)
- number of channels (0 if unknown or hard to decode)
- number of frames in the file (-1 if unknown or hard to decode)
- number of bits/sample, or 'U' for U-LAW, or 'A' for A-LAW

If the file doesn't have a recognizable type, it returns None.
If the file can't be opened, OSError is raised.

To compute the total time, divide the number of frames by the
sampling rate (a frame contains a sample for each channel).

Function what() calls whathdr().  (It used to also use some
heuristics for raw data, but this doesn't work very well.)

Finally, the function test() is a simple main program that calls
what() for all files mentioned on the argument list.  For directory
arguments it calls what() for all files in that directory.  Default
argument is "." (testing all files in the current directory).  The
option -r tells it to recurse down directories found inside
explicitly given directories.
�what�whathdr�)�
namedtuple�
SndHeadersz.filetype framerate nchannels nframes sampwidthz�The value for type indicates the data type
and will be one of the strings 'aifc', 'aiff', 'au','hcom',
'sndr', 'sndt', 'voc', 'wav', '8svx', 'sb', 'ub', or 'ul'.zYThe sampling_rate will be either the actual
value or 0 if unknown or difficult to decode.z^The number of channels or 0 if it cannot be
determined or if the value is difficult to decode.z?The value for frames will be either the number
of frames or -1.zAEither the sample size in bits or
'A' for A-LAW or 'U' for u-LAW.cCst|�}|S)zGuess the type of a sound file.)r)�filename�res�r�/usr/lib64/python3.6/sndhdr.pyr4scCsHt|d��4}|jd�}x"tD]}|||�}|rt|�SqWdSQRXdS)zRecognize sound headers.�rbiN)�open�read�testsr)r�f�hZtfrrrr	r:s


cCs�ddl}|jd�sdS|dd�dkr,d}n|dd�dkrBd}ndS|jd�y|j|d	�}Wnt|jfk
rzdSX||j�|j�|j�d|j	�fS)
NrsFORM��sAIFC�aifcsAIFFZaiff�r)
r�
startswith�seekr�EOFError�Error�getframerate�getnchannels�
getnframes�getsampwidth)rrrZfmt�arrr	�	test_aifcKs

rc
Cs�|jd�rt}n|dd�dkr&t}ndSd}||dd��}||dd��}||dd��}||dd	��}||d	d
��}d}	|dkr�d}
n$|d
kr�d}
n|dkr�d}
d
}	nd}
|	|}|r�||}nd}|||||
fS)Ns.snd��ds.�dns.Zaurr�����U���?)rr ���)r�get_long_be�get_long_le)
rr�func�filetypeZhdr_sizeZ	data_size�encoding�rate�	nchannelsZsample_sizeZsample_bitsZ
frame_sizeZnframerrr	�test_au`s2

r1cCsT|dd�dks |dd�dkr$dSt|dd��}|rBd	|}nd
}d|ddd
fS)N�A�EsFSSD��sHCOM��i"VrZhcomr$rr))r*)rrZdivisorr/rrr	�	test_hcom�s 
r8cCst|jd�sdSt|dd��}d}d|ko4dknrf||dkrfd||d}|rftd	|�}d
|dddfS)
NsCreative Voice Filer"�ri�r$�rg��.AZvocrr))r�get_short_le�int)rrZsbseekr/Zratecoderrr	�test_voc�s
$r=cCs�ddl}|jd�s4|dd�dks4|dd�dkr8dS|jd�y|j|d�}Wnt|jfk
rldSXd	|j�|j�|j�d|j	�fS)
NrsRIFFrrsWAVEr!sfmt rZwav)
�waverrZopenfprrrrrr)rrr>�wrrr	�test_wav�s,
r@cCs$|jd�s|dd�dkr dSdS)	NsFORMrrs8SVX�8svxrr$)rArr$rr)r)rrrrr	�	test_8svx�srBcCs<|jd�r8t|dd��}t|dd��}d|d|dfSdS)NsSOUNDrrr"r9Zsndtr$)rr+r;)rrZnsamplesr/rrr	�	test_sndt�s
rCcCsD|jd�r@t|dd��}d|ko,dknr@d|dd	dfSdS)
Nsr&ri�i�aZsndrr$rr))rr;)rrr/rrr	�	test_sndr�s
rDcCs,|dd>|dd>B|dd>B|dBS)Nrr#r$r!r&rr'r)�brrr	r*�sr*cCs,|dd>|dd>B|dd>B|dBS)Nr'r#r&r!r$rrr)rErrr	r+�sr+cCs|dd>|dBS)Nrrr$r)rErrr	�get_short_be�srFcCs|dd>|dBS)Nr$rrr)rErrr	r;�sr;cCs�ddl}d}|jdd�r8|jddkr8|jdd�=d}y8|jdd�r`t|jdd�|d�ntdg|d�Wn*tk
r�|jjd�|jd�YnXdS)Nrr$z-rr&�.z
[Interrupted]
)�sys�argv�testall�KeyboardInterrupt�stderr�write�exit)rH�	recursiverrr	�test�srPcCs�ddl}ddl}x�|D]�}|jj|�rzt|ddd�|s>|rptd�ddl}|j|jj|d��}t||d�q�td�qt|ddd�|jj	�ytt
|��Wqtk
r�td	�YqXqWdS)
Nrz/:� )�endzrecursing down:�*z*** directory (use -r) ***�:z*** not found ***)rH�os�path�isdir�print�glob�joinrJ�stdout�flushr�OSError)�listrOZtoplevelrHrUrrY�namesrrr	rJ�s"


rJ�__main__N)�__doc__�__all__�collectionsrrr-Z	framerater0ZnframesZ	sampwidthrrr
r�appendr1r8r=r@rBrCrDr*r+rFr;rPrJ�__name__rrrr	�<module>sH











© 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