Linux ams-business-5.hostwindsdns.com 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
LiteSpeed
Server IP : 23.254.231.17 & Your IP : 216.73.217.85
Domains :
Cant Read [ /etc/named.conf ]
User : uxvsuhne
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python2.7 /
site-packages /
filechunkio /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.py
107
B
-rw-r--r--
2016-06-19 12:55
__init__.pyc
323
B
-rw-r--r--
2021-10-02 02:45
filechunkio.py
2.25
KB
-rw-r--r--
2016-06-19 12:36
filechunkio.pyc
3.17
KB
-rw-r--r--
2021-10-02 02:45
tests.py
3.36
KB
-rw-r--r--
2016-06-19 12:36
tests.pyc
5.88
KB
-rw-r--r--
2021-10-02 02:45
Save
Rename
� ݑfWc @ sk d d l Z d d l Z e e d d � Z e e d d � Z e e d d � Z d e j f d � � YZ d S( i����Nt SEEK_SETi t SEEK_CURi t SEEK_ENDi t FileChunkIOc B sV e Z d Z d e d d d � Z e d � Z d � Z d d � Z d � Z d � Z RS( sA A class that allows you reading only a chunk of a file. t ri c O s� | j d � s t d � � n | | _ | | _ | d k r[ t j | � j | j | _ n t t | � j | | | | | � | j d � d S( s/ Open a file chunk. The mode can only be 'r' for reading. Offset is the amount of bytes that the chunks starts after the real file's first byte. Bytes defines the amount of bytes the chunk has, which you can set to None to include the last byte of the real file. R s Mode string must begin with 'r'i N( t startswitht ValueErrort offsett bytest Nonet ost statt st_sizet superR t __init__t seek( t selft namet modet closefdR R t argst kwargs( ( s; /usr/lib/python2.7/site-packages/filechunkio/filechunkio.pyR s "c C sy | t k r, t t | � j | j | � nI | t k rR | j | j � | � n# | t k ru | j | j | � n d S( s/ Move to a new chunk position. N( R R R R R R t tellR R ( R R t whence( ( s; /usr/lib/python2.7/site-packages/filechunkio/filechunkio.pyR s c C s t t | � j � | j S( s( Current file position. ( R R R R ( R ( ( s; /usr/lib/python2.7/site-packages/filechunkio/filechunkio.pyR * s i����c C sU | d k rG | j | j � } t | | g � } t t | � j | � S| j � Sd S( s2 Read and return at most n bytes. i N( R R t minR R t readt readall( R t nt max_n( ( s; /usr/lib/python2.7/site-packages/filechunkio/filechunkio.pyR 0 s c C s | j | j | j � � S( s/ Read all data from the chunk. ( R R R ( R ( ( s; /usr/lib/python2.7/site-packages/filechunkio/filechunkio.pyR ; s c C s� | j t | � � } t | � } y | | | *WnP t k r� } d d l } t | | j � sh | � n | j d | � | | *n X| S( s/ Same as RawIOBase.readinto(). i����Nt b( R t lent TypeErrort arrayt isinstance( R R t dataR t errR ( ( s; /usr/lib/python2.7/site-packages/filechunkio/filechunkio.pyt readintoA s N( t __name__t __module__t __doc__t TrueR R R R R R R R$ ( ( ( s; /usr/lib/python2.7/site-packages/filechunkio/filechunkio.pyR s ( t ioR t getattrR R R t FileIOR ( ( ( s; /usr/lib/python2.7/site-packages/filechunkio/filechunkio.pyt <module> s